I'm passing a base64 encoded parameter using GET. After converting to base64 I end up with a string that contains slashes, plus and equals signs that break my mod_rewrite rule. My mod_rewrite rule is
RewriteRule ^page/(\w+)$ page.php?code=$1
[B] flag but i am not sure either
RewriteRule ^page/(\w+)$ page.php?code=$1 [B]
The [B] flag instructs RewriteRule to escape non-alphanumeric characters before applying the transformation.