Modify ↓
#6887 closed defect (fixed)
[Patch] WikiCalenderMacro doesn't properly handled urls starting with '/'
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | normal | Component: | WikiCalendarMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
If an url pattern starting with '/' is used, this isn't properly stripped before the call to has_page, and so the macro never sees that such pages exist.
The attached patch fixes the bug here.
Attachments (1)
Change History (7)
Changed 15 years ago by
Attachment: | WikiCalenderMacro_urls.diff added |
---|
comment:2 Changed 15 years ago by
Owner: | changed from Ryan J Ollos to anonymous |
---|---|
Status: | new → assigned |
comment:3 Changed 15 years ago by
Summary: | WikiCalenderMacro doesn't properly handled urls starting with '/' → [Patch] WikiCalenderMacro doesn't properly handled urls starting with '/' |
---|
I will go ahead and apply the patch now, but I won't have time to test. If you are able to test the latest version of the trunk, please report back if you can.
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 15 years ago by
Also, please go ahead and list your name in the list of Contributors on the wiki page, if you like.
Note: See
TracTickets for help on using
tickets.
Patch to strip leading '/'s from the url