Closed (duplicate)
Project:
Path Filter
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2009 at 17:37 UTC
Updated:
21 Dec 2009 at 17:45 UTC
When linking to the font page with
<a href="/">Front Page</a>
or
<a href="http://example.com/">Front Page</a>
the path is not caught by the render pass of pathfilter and a link to "internal:" is displayed.
Attached patch modifies the regular expression that looks for cases of "internal:" to replace with a call to url().
Cause was the requirement that a path be included after 'internal:'
Came to light after auto internalizer converted <a href="http://example.com">Front Page</a> into <a href="internal:">Front Page</a>
I apologize for the patch not being rooted at the module root. Mercurial won't make diffs how I would like. Can be applied with
patch -p6 < pathfilter-replacement-patterns-fix.patch
| Comment | File | Size | Author |
|---|---|---|---|
| pathfilter-replacement-patterns-fix.patch | 649 bytes | harking |
Comments
Comment #1
harking commentedNevermind. Already fixed in trunk! +1 for open source.