Ticket #4 (closed defect: fixed)
Fix getParameters() bug in IE6
| Reported by: | JeremyRuston | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | major | Milestone: | 2.1 |
| Component: | core | Version: | |
| Severity: | medium | Keywords: | |
| Cc: |
Description
Reported by Bram Chen:
I guess that IE6 changed some behavior of URI processing lately, so I patch up the function getParameters() like this, <<< function getParameters() {
var p = null; if( window.location.hash)
{
p = decodeURI(window.location.hash.substr(1)); if(config.browser.firefoxDate != null && config.browser.firefoxDate[1] < "20051111")
p = convertUTF8ToUnicode(p);
}
return p;
} <<<
I had tested it on Firefox 1.5.0.2(1.0.7, 1.0.5.3), IE6 and Opera 8.5.4. Interestingly, it means that the convertUTF8ToUnicode() *works* for Fx 1.0.7- only.
Change History
Note: See
TracTickets for help on using
tickets.
