EncodeURI for p value
This commit is contained in:
parent
47c7513937
commit
08d10e9c88
2
api.js
2
api.js
@ -79,7 +79,7 @@ BotanJS.prototype.compile = function( type )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var suri = conf.serviceUri + type + "/" + data.toString( "base64" )
|
var suri = conf.serviceUri + type + "/?p=" + encodeURIComponent( data.toString( "base64" ) );
|
||||||
var req = http.get(
|
var req = http.get(
|
||||||
suri
|
suri
|
||||||
, function( res )
|
, function( res )
|
||||||
|
Loading…
Reference in New Issue
Block a user