Triply-Dev / YASGUI.legacy

Yet another SPARQL GUI
http://legacy.yasgui.org
MIT License
44 stars 8 forks source link

Request parameter "query" appears twice #276

Closed LaurensRietveld closed 9 years ago

LaurensRietveld commented 10 years ago

My sparql endpoint doesn't like the query parameter to be specified twice.

The request is made like: http://localhost:3001/sparql?query=SELECT+_+WHERE+%7B%0A++%3Fsub+%3Fpred+%3Fobj%0A%7D+LIMIT+10&query=SELECT+_+WHERE+%7B%0A++%3Fsub+%3Fpred+%3Fobj%0A%7D+LIMIT+10&endpoint=http%3A%2F%2Flocalhost%3A3001%2Fsparql&requestMethod=POST

When it ought to be: http://localhost:3001/sparql?query=SELECT+*+WHERE+%7B%0A++%3Fsub+%3Fpred+%3Fobj%0A%7D+LIMIT+10&endpoint=http%3A%2F%2Flocalhost%3A3001%2Fsparql&requestMethod=POST

Thanks

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/36.0.1985.125 Chrome/36.0.1985.125 Safari/537.36

LaurensRietveld commented 9 years ago

this is fixed in YASQE (which will be used in new YASGUI rewritE)