Query string problem

Topics: Developer Forum
Jan 24, 2012 at 9:25 PM

Hi, I must apologize for my bad english. I have problem with adding query string to url.

I have this rewrite commad

RewriteRule ^/inzeraty/([^/]+)/((\?.+)|())$ /inzeraty.aspx?id=$1&$2 [L]

Everything works fine if address is:


but sometimes url is:


In this case IIRF rewrite me to www.xxxxxx.xxx//inzeraty.aspx?id=xxxxx&

this causing error in my script.

I want disable adding alone "&". Can anyone help me. Thanks a lot