Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid hex characters invalidates urls and remove them from the output #103

Open
paxter opened this issue Mar 20, 2022 · 0 comments
Open

Comments

@paxter
Copy link

paxter commented Mar 20, 2022

What is this feature about (expected vs actual behaviour)?

If there are valid hex characters in an url, the whole link will be removed from the output.
Valid links shouldn't be removed.

How can I reproduce it?

$antiXss = new AntiXSS();

$text = "<a href='https://example.com?34167-%DCbersicht'>text</a>";

echo $antiXss->xss_clean($text);

Output

<a href="">text</a>

Does it take minutes, hours or days to fix?

No idea.

Any additional information?

Let me know if anything further is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant