remyaaron / hcalendar

Automatically exported from code.google.com/p/hcalendar
0 stars 0 forks source link

Mozilla Add-ons: Hebrew Calendar 1.0.6.1 Preliminary Reviewed (Issue #3) #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
You need to URL encode your GET query parameters with the encodeURIComponent 
function so that characters like %, &, and # are not misinterpreted.

Original issue reported on code.google.com by igor.zc on 27 May 2012 at 8:35

GoogleCodeExporter commented 8 years ago

Original comment by igor.zc on 27 May 2012 at 9:01

GoogleCodeExporter commented 8 years ago
solution (1.0.6.4):

    smartOpenUrl: function(url)
    {
        url = encodeURI(url);
        url = url.replace(/%2520/g, "+");
        url = url.replace(/%20/g, "+");
                ...

Original comment by igor.zc on 27 May 2012 at 11:14