userinfo in HTML href -


I have noticed that when I use the userinfo part (user: password) in an html attribute such as href or src , Chrome Dev Tools are going crazy. For example, if I go to http: // localhost: 8080 and the HTML of the document displayed includes:

  & lt; A href = "http: // kaczka: dziwaczka@google.pl" & gt; Yo Mama & lt; / A & gt;   

then dev tool on hovering or copying the attribute tool value, yield http: // localhost: 8080 / http: // kaczka: dziwaczka@google.pl .

However, the link works only when any click is made.

Does anyone know that this is an issue with Chrome Dev Tool or some deliberate feature? If this is intentional, then why does this happen?

No, this is not by design, but this type of URL has never been completed correctly Generally, this type of credentials specification has been disliked - instead use authorization HTTP (see more).

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -