1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Arabic friendly URLs are broken in all IE versions

Discussion in 'Resolved Bug Reports' started by sami simo, Apr 14, 2012.

  1. sami simo

    sami simo Well-Known Member

    Arabic friendly URLs are broken in all IE versions , they shows like this:
    I don’t think its IE bug , as Arabic friendly URLs shows already fine in Vbulletin, even it doesn’t support utf-8.
  2. Kent

    Kent Active Member

    Browsing with Firefox and Chrome it shows Arabic in the URL, but with Internet Explorer it shows the hex-encoded version.
    Displaying Arabic and other languages in the URL is actually a feature (which IE apparently lacks) because %D9%83%D9 is what really gets sent with the request.

    Edit: actually, when entering the Arabic URL directly into IE, the Arabic displayed in the URL.

    Test one
    Test two

    Test one uses the hex encoded URL, test two uses the Arabic directly. They both work in IE, but test two shows the Arabic in the URL.
    It seems IE just doesn't convert the hex on its own.

    XenForo uses the hex version in the URL, likely to prevent unicode support errors.
    <a href="threads/%D9%83%D9%8A%D9%81-%D9%8A%D9%85%D9%83%D9%86%D9%86%D8%A7-%D8%AF%D8%B9%D9%85-%D9%85%D9%86%D8%AA%D8%AF%D9%89-xenforo-%D8%9F.6343/"
                        data-previewUrl="threads/%D9%83%D9%8A%D9%81-%D9%8A%D9%85%D9%83%D9%86%D9%86%D8%A7-%D8%AF%D8%B9%D9%85-%D9%85%D9%86%D8%AA%D8%AF%D9%89-xenforo-%D8%9F.6343/preview">كيف يمكننا دعم منتدى xenforo ؟</a>
    Accessing just "xenforo.com/community/threads/6343/" in IE brings the hex-encoded URL version from the redirect.
    Clicking "next" may also cause the URL to revert, as it uses the hex version (untested.)

    Tested with Internet Explorer 9 on Windows 7 64-bit.
    sami simo likes this.
  3. DroidHost

    DroidHost Well-Known Member

    the URLs are not broken but rather display the hex ..... I think the problem is within the IE as it doesnot support the utf8 ....this is my explanation
  4. Vincent

    Vincent Well-Known Member

    Just tried in IE9, worked well :D
  5. sami simo

    sami simo Well-Known Member

    Hove you tried this in a new thread, or using the link provided by Kent?
  6. sami simo

    sami simo Well-Known Member

    Maybe, but then why URLs are showing fine in IE with vBulletin?
  7. Mike

    Mike XenForo Developer Staff Member

    The URLs need to be encoded to be valid and IE doesn't handle that decoding properly. This is the designed behavior though.

Share This Page