Conrad Irwin <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #6 from Conrad Irwin <> 2010-02-13 16:28:28 
UTC ---
{{PAGENAMEE:{{PAGENAME:&}}}} -> %26        (RIGHT) 
{{URLENCODE:{{PAGENAME:&}}}} -> %26amp%31  (WRONG)
{{PAGENAMEE:&amp;}}    -> %26              (WRONG - ?)
{{URLENCODE:&amp;}}    -> %26amp%31        (RIGHT)

I put the ? there because [[&amp;]] creates a link to [[&]] (perhaps also
wrong) and; is an server error.

I think the solution would be to have {{PAGENAME}} return a
"text-needs-escape" object of some kind, parser functions could then request
that they get unescaped input as a flag, the parser would then escape the text
when the escaping is neeeded.

The Django template engine deals with this issue very nicely, maybe we can copy
some of their ideas.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

Wikibugs-l mailing list

Reply via email to