Skip to content

Commit

Permalink
try to apply window.encodeURIComponent() 2 times, for "RDFViewer butt…
Browse files Browse the repository at this point in the history
…on for SPARQL construct queries" #149
  • Loading branch information
jmvanel committed Mar 23, 2017
1 parent 773626e commit f248bb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ trait ToolsPage extends EnterButtons
var query = textarea.value;
console.log( 'query in textarea ' + query);
console.log( 'services URL $servicesURL' );
var url = '$servicesURL' + window.encodeURIComponent(query) ;
var url = '$servicesURL' + window.encodeURIComponent( window.encodeURIComponent(query)) ;
console.log( 'URL ' + url );
// console.log( 'startsWith ' + ( '$sparqlServicePrefix' . startsWith ('/') ) );
if( $isDNS )
Expand Down

0 comments on commit f248bb2

Please sign in to comment.