I have a mod_rewrite rule:
Code:
# grab the query string
RewriteCond %{QUERY_STRING} ^(.+)$

# rewrite it using the map
RewriteRule ^(.+)$ ${seo_map_majors:$1?%1}? [L,R=301]
As one can see, I feed the query string to my rewrite map which takes care of formatting it properly and outputs a URL with possibly some query string in it. I try putting the ? at the end of my rewrite rule so mod_rewrite doesn't redundantly supply the query string again, but i end up getting a %3F at the end of any url oftentimes:

E.g., this:
Code:
http://domain.com/majors/pg1.php?cip=05.0101&sid=123456
becomes this:
Code:
http://192.168.1.2:8888/majors/african-studies/description-05.0101.html?sid=123456&%3f
this results in the session id being corrupted.

Thoughts?