« Previous Next »

Thread: Does ARR supported rewrite URL for non-ASCII charset?

Last post 04-15-2009 10:18 PM by Doggy8088. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 04-14-2009, 5:59 AM

    • tigerlin
    • Not Ranked
    • Joined on 04-14-2009, 9:42 AM
    • Posts 1

    Does ARR supported rewrite URL for non-ASCII charset?

    Few days ago, I was install ARR 2.0 beta 1 on my IIS 7 to build reverse proxy.
    It's ok for rewrite URL to my web server, I'm so glad ARR can use for reverse proxy :)

    only one thing I'm confused, when QuerryString has non-ASCII charset (EX:Chinese words), ARR will response HTTP 500 error.

    Does ARR supported rewrite URL for non-ASCII characters such as Unicode? Or does it have another way to solve this problem.  Thanks

    My Blog:
    http://www.dotblogs.com.tw/tigerlin
  • 04-14-2009, 8:28 AM In reply to

    • Doggy8088
    • Top 500 Contributor
    • Joined on 11-24-2002, 7:58 PM
    • Taiwan
    • Posts 13

    Re: Does ARR supported rewrite URL for non-ASCII charset?

    I have the same problem here.

    If there is a non-ASCII characters in the url, no matter in the request path, filename, or query string, all the non-ASCII characters are all become questionmark ( ? ).

    Is that means ARR doesn't support unicode in the url? 

  • 04-14-2009, 12:41 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Does ARR supported rewrite URL for non-ASCII charset?

    Can you provide the exact characters you are having a problem with?  The easiest way would probably be to create an htm page which has link to urls with the international characters - I can use that to repro the issue - you can e-mail it to me at anil (dot) ruia (at) microsoft (dot) com

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-15-2009, 6:25 AM In reply to

    • Doggy8088
    • Top 500 Contributor
    • Joined on 11-24-2002, 7:58 PM
    • Taiwan
    • Posts 13

    Re: Does ARR supported rewrite URL for non-ASCII charset?

    Hi anilr,

    I have been setup a testing website for you.

    http://test.ptitas.net:81/ 

     In this webpage, there is a "Click Me" link that contains "Chinese Characters" in the Path, Filename, and Query String.  Also, when you clicked in, you will see all the query strings passed into this page.   Here is the screenshot below:

  • 04-15-2009, 4:38 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 661

    Re: Does ARR supported rewrite URL for non-ASCII charset?

    Can you also post the rewrite rule that you use for the reverse proxy?

    http://ruslany.net
  • 04-15-2009, 10:18 PM In reply to

    • Doggy8088
    • Top 500 Contributor
    • Joined on 11-24-2002, 7:58 PM
    • Taiwan
    • Posts 13

    Re: Does ARR supported rewrite URL for non-ASCII charset?

    There is a detailed walk-through in my blog: http://blog.miniasp.com/post/2009/04/Using-ARR-to-implement-Reverse-Proxy.aspx 

    Here is the rules screenshot: 

     

Page 1 of 1 (6 items)
Microsoft Communities