更新时间:2023-02-23 10:27:53
更新:
我认为,解决您问题的唯一方法是编写自己的重写模块.这些文章可能会有所帮助:
I think the only solution for your problem is to write your own Rewrite Module. These article might help:
http://www.jphellemons.nl/post/URL-aspnet-40-and-IIS7.aspx
我无法对其进行测试,但如果采用这种方法,我就无法测试,但可以使用另一个正则表达式进行尝试:
I cannot test it and I'm not if it works that way, but try it with another regular expression:
((%20)|\ )+
例如,应将类似于此 http://www.goo%20le.de/hfdhdhdhd
的网址替换为该 http://www.goo-le.de-/-hfdhdhdhd
For example an Url like this http://www.goo%20le.de / hfdhdhdhd
should be replaced to this http://www.goo-le.de-/-hfdhdhdhd
更新:
它可以在正则表达式测试器中运行 http://regexpal.com/
It works in the regular expression tester http://regexpal.com/