I have news items on my website that get rewritten using the following rule:
RewriteRule ^news/([^/]*)/([^/]*)$ /local/?page=home&news_id=$1&newsTitle=$2 [L]
Now one of the news item’s title is:开发者_开发技巧 achieves_100%_A*_to_C_in_GCSE
But the page doesn't get displayed and I get a 400 error.
I think that the problem is with the %
and the *
in the address.
How do I include both %
and *
in a reg exp.
Thanks in Advance
A lone %
is not valid in a URL. Replace it with %25
when entering it in the address bar.
精彩评论