You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.
Original description
**- Please be as accurate as possible**
**- Using understandable English helps**
**- No answer or support if setup is older than latest release**
**What steps will reproduce the problem?**
1. Add a Link that contains multiple query string vars, ie. .com/?a=1&b=2
2. When clicking the shortened url the & is output as &amp so the link is
broken
**What is the expected output? What do you see instead?**
The & output as & instead of &amp
**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**
**Please provide any additional information below.**
I fixed this issue by editing yourls.go.php line #21, replace:
$url = stripslashes($db->get_var("SELECT `url` FROM `$table` WHERE id = $id"));
with:
$url = htmlspecialchars_decode(stripslashes($db->get_var("SELECT `url` FROM
`$table` WHERE id = $id")));
The text was updated successfully, but these errors were encountered:
This is a COPY of Issue 55: HTML Special Characters (Decode) Querystrings, filed on Google Code before the project was moved on Github.
Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.
Original description
The text was updated successfully, but these errors were encountered: