Passing username and password in url

Hey,

When i pass the username and password in the url ie http://username:password@host, the JS returns a “SecurityError: The operation is insecure.” until i manually click on the url and press enter then i have access and everything works as normal.

I understand that this is a security risk but i only access the url this way via my local network.

Its small but annoying non the less.

edit: i debuged the js and the culprit line is in vendor.js line 17088
"
// If pushState is available, we use it to set the fragment as a real URL.
if (this._hasPushState) {
this.history[options.replace ? ‘replaceState’ : ‘pushState’]({}, document.title, url);
"

thanks.

That authentication is handled by the browser, Sonarr’s UI is unaware that its being used at all as it happens before the UI loads. I am not able to reproduce it failing in Chrome on Windows.

Hey,

Thanks for the reply!

I jut tried chrome and it is indeed working fine.

I should have probably mentioned i am using firefox, the strange thing is that it does log in fine but no actions will happen until i click the url and press enter.

There are a few sites with HTTP auth that I also have to refresh after putting in my username/passwd. This is an issue with the browser and not the web application.

Thanks for the reply,

the only thing that made me think it might be a implementation issue with sonarr is that it works fine for SAB, maraschino and utorrents webui

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.