"url"-type in escape modifier

messju mohr <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
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

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.