html - Browser mis-interpreting '¬' in URL -
apparently if url containing text ¬ used part of field property, many browsers interpret '¬'. html code:
<a href="#" onclick="window.location='http://www.example.com?some_param=1¬ify=true';">click here</a> will rendered as:
<a href="#" onclick="window.location='http://www.example.com?some_param=1¬ify=true';">click here</a> i found couple of alternatives substituting ¬ &%6eot, or posting form instead of getting parameterized url. posts aren't welcome alternative , substitution admittedly hack - need deal other mutual tokens ¢, ¤, £, §, ©, ®... (list taken here).
surely out there has improve solution this?
element attributes interpreted html parser, must escape & characters &. works of time if don't, in cases (such yours) have "right" or won't work.
html browser html-parsing
No comments:
Post a Comment