epgg / eg

EpiGenome Gateway - WashU EpiGenome Browser
http://epigenomegateway.wustl.edu/legacy/
Other
21 stars 10 forks source link

Trying to load "computed" JSON hub definition #98

Open albertoriva opened 4 years ago

albertoriva commented 4 years ago

Hello,

I'm using the legacy browser, and I'm trying to open a remote hub using a hyperlink containing datahub=... followed by the URL to my json file. This has worked fine for years. Now, though, I'm passing the address of a cgi script that produces the JSON file,like this:

http://(username):(password)@lichtlab.cancer.ufl.edu/reports/hub.cgi?NSD2//NSD2_CS_RPMI_020919_Jianping/mynorm/tracks/peaks2.conf

I've tested this in a browser and it works correctly, displaying the JSON file. But when I put this in the datahub url, replacing the ? with %3F, I get an error because the browser only sends a request for "/reports/hub.cgi", removing the part after the ?. Is there a way to prevent this?

By the way, this works in the new browser, but the reason why I need to use the legacy browser is that the new one does not send the username and password in HTTP requests. If this could be fixed, then I could switch to the new browser and my problem would be solved.

Thank you!

lidaof commented 3 years ago

Hi @albertoriva sorry missed your issue request....I focused on the new browser and forgot to check here...do you think you can generate a temporary hub file at a temporary folder then using the direct URL to that temporary hub file? The dynamic URL thing was a long problem and I haven't figured out a way

for new browser, feel free and welcome to install a local mirror...then you can view your intranet hosted data without setting auth.

sorry again for the really late reply!