Re: [fetch] URLs with username/password (#26)

I've run across an issue with using fetch because of the restrictions on credentials in urls. I posted it to the chrome issue tracker: https://bugs.chromium.org/p/chromium/issues/detail?id=596261#c7

My scenario is the following:

- Go to a page using inline basic auth
- Use fetch to load a resource from a relative url

Example:
 - Go to http://test:test@google.no
 - try: window.fecth(".") in chrome

The reason I want to be able to do this, is because I run a server in my house that is accessible outside of my home. To make things easy for myself I have links to the server that use inline basic auth, so it logs me in automatically. I use https to encrypt all traffic. But now I can't fetch relative urls anymore.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/26#issuecomment-199686836

Received on Tuesday, 22 March 2016 08:01:11 UTC