"url"-type in escape modifier
| From: | messju mohr | Date: | Fri, 28 Jan 2005 12:39:54 +0000 |
| Subject: | "url"-type in escape modifier | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-2624@lists.php.net to get a copy of this message | ||
Hello,
I just noticed, that smarty's escape-modifier uses php's urlencode()
when used like "{$var|escape:url}".
I suggest changing this to rawurlencode().
The "+" sign for a space (when converted by urlencode()) seems to make
problems in Firefox 1.0, for example. The RFC-1738-compliant "%20"
(when converted by rawurlencode) doesn't seem to make any problems.
Are there any objections against changing this?
greetings
messju