Having trouble with percentage symbol

Hi,

Pardon my english. I have a simple rule in my htaccess file like so:

RewriteRule ^admin/view/(.+)$ admin/view.php?pathInfo=$1

The problem now is if a user type in the “&” sign, I am converting it using urlencode() to %26 and the rule above doesn’t support the symbol.

Is there anyway around this? Thanks in advanced.

js,

Yes, use another character. The & is reserved in the query string per Uniform Resource Identifiers (URI): Generic Syntax.

Regards,

DK