virtuoso-opensource icon indicating copy to clipboard operation
virtuoso-opensource copied to clipboard

Change href in the new HTML interface to relative path

Open holycrab13 opened this issue 4 years ago • 2 comments

The latest version with the improved HTML interface on the sparql endpoint has an issue with the 'send query' button since it uses an absolute path.

The query send via button always go to [base_url]/sparql?query... However we are providing that interface via a proxy at /system/sparql - the absolute path in the button href sends all the queries into the void!

Can this be changed to use a relative path like the old HTML interface did? Cheers!

holycrab13 avatar Nov 25 '21 10:11 holycrab13

We are looking into this and will report back with update on what can be done ...

HughWilliams avatar Nov 26 '21 13:11 HughWilliams

I have committed an initial fix to the develop/7 branch.

Please note that this only fixes the Execute button.

Note that other parts of the code that still reference /sparql and we have not made a decision on fixing those.

pkleef avatar Dec 15 '21 16:12 pkleef