URL redirect after @

(Daniel Florin Pitis) #1

I have a simple question that i haven’t successfully figured out:
If a type an URL like this http://www.somewebsite.com@anotherwebsite.com
Why does the browser redirect to anotherwebsite.com? I can tell that why is done intentionally but i don’t understrand why.

Thank you for your time

(erosman) #2

The format http://username:password@example.com/ is used to pass user/pass.
Browser interprets the text after @ as the actual site address.