Skip to content

Commit

Permalink
bug fix: for GM_xmlhttpRequester.js
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvold committed Sep 26, 2010
1 parent d6b4943 commit 39c7b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/GM_xmlhttpRequester.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GM_xmlhttpRequester.prototype.contentStartRequest = function(details) {

try {
// Validate and parse the (possibly relative) given URL.
var uri = NetUtil.newURI(details.url, this.originUrl);
var uri = NetUtil.newURI(details.url, null, NetUtil.newURI(this.originUrl));
var url = uri.spec;
} catch (e) {
// A malformed URL won't be parsed properly.
Expand Down

0 comments on commit 39c7b9d

Please sign in to comment.