Reputation: 9999
In my webpage i use the UrlRewriting found here
Everything worked like a charm, until the upgrade from IIS6 to IIS7.5
The Url rewriting stopped working.
After adding these lines in the web.config the UrlRewriting started once again to work.
<modules>
<remove name="ScriptModule" />
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>
Now the problem is that the Request.Querystring
that i use, in my webpage gets the data with wrong encoding.
So, while using the same Request.QuesryString instead of Αγγλίας
i get αγî³î»Î¹î±
Is there anything at your mind?
UPDATE: While make a search on Google about this one i found that Greek webpages are returned.
ANOTHER UPDATE: I solved the problem by using RawUrl, but just in case... Is it a "kind of bug"?
Upvotes: 1
Views: 566
Reputation: 5132
Yes, that is a bug. I would recommend using ASP.NET Routing instead.
Upvotes: 1