Author: dan.bolser
Description:
A literal '+' in a value passed to the formula in formlink is converted to a space in the form field.
I only tried this using the default mode of operation of formlink, which passes the formula parameter in the URL (GET). The problem is that the + character in the URL is sometimes interpreted as a space by CGI applications. For example, the #urlencode parser function converts spaces into +s for URL encoding!
Here is the code that causes problems:
{{#formlink: TNAME
Add a Link |
link |
TNAME[fields]={{PAGENAME}} |
}}
It works to link instances of 'TNAME' to the current page, however, because the '{{PAGENAME}}' gets changed (when it contains a +), the resulting link is broken.
You can see problem here:
Version: unspecified
Severity: normal