• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
Item7851 for doc work on
extensions that are not part of a release.
More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
• Does this site look broken?. Use the LitterTray web for test cases.
Item7222: Trailing space in DENYTOPIC* causes the access allowed to anybody
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Engine |
|
Urgent |
Closed |
|
major |
6.0.0 |
Detail
If a DENYTOPIC* variable (e.g. DENYTOPICVIEW) has a trailing space in its value, the value is regarded as empty and the operation is allowed to anybody.
This is because the value's non-emptiness not is checked by
$denyText =~ /\S$/
, which if false if there is a trailing space.
$
in the matching pattern must be deleted.
--
TWiki:Main/HideyoImazu
- 2013-04-10