Skip to main content

Bug Tracker

Side navigation

#4746 closed bug (duplicate)

Opened June 11, 2009 08:49AM UTC

Closed June 12, 2010 06:53PM UTC

Last modified March 13, 2012 06:39PM UTC

Wrong encoding for URL when using AJAX load functions in Internet Explorer

Reported by: XWisdom Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

When using the AJAX functions in jQuery (e.g. $.load(), $.get etc.) and if the url contains special characters like the Swedish "åäö", then it get converted to the wrong encoding before sending to the server. This only happens in Internet Explorer. My workaround is:

if ($.browser.msie) {

sUrl = encodeURIComponent(sUrl);

sUrl = sUrl.replace(/%2F/g, '/');

}

Attachments (0)
Change History (2)

Changed June 16, 2009 01:18AM UTC by dmethvin comment:1

I think this may be a dup of #3611. Can you tell me the page encoding that you are using?

Changed June 12, 2010 06:53PM UTC by dmethvin comment:2

component: unfiledajax
resolution: → duplicate
status: newclosed

I will assume this is a dup of #3611.