javascript - Query string of the URL getting removed in mobile for HTML's <a> tag -
this strange issue - have simple html anchor tag below (ofcourse not code, there more). works great laptop browsers in samsung note browser when click (exact url not google's application's url) query string part automatically gets removed/truncated , left url without query string opened in new window.
<a id="gog" href="http://localhost/webcontent/index.jsp?abc=abc" target="_blank" rel="noreferrer">google</a>
originally, href value building dynamically in href
attribute itself, though mobile doesn't allow computed full url separately , used variable in href
didn't help.
then thought may rel="noreferrer"
causing issue no avail.
this happens in mobile device - samsung , chrome browser, laptop chrome fine.
anybody has ever faced issue or idea on how resolve.
your url malformed; need /
between host portion , path / querystring.
also, make url work, should change /search