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

fix: fix bug on check vulnerable browser #27

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GalliumWang
Copy link

No description provided.

@jonasstrehle
Copy link
Owner

Hey @GalliumWang, can you explain the bug?

@GalliumWang
Copy link
Author

Hey @GalliumWang, can you explain the bug?

image

with the underlined check statement, the second else statement will never be excuted, which is used for checking browsers that not vulnerable to this favicon attack.

@GalliumWang
Copy link
Author

Hey @GalliumWang, can you explain the bug?

Maybe line 369 should be if (identifier !== MaxN) {

@jonasstrehle
Copy link
Owner

You are right, I will check this out if I got some time. I'm pretty sure I've added the identifier === 0-check to fix some other bug that happened with Safari that time.

Repository owner deleted a comment from akashakki Mar 1, 2024
Repository owner deleted a comment from OmerTurann Mar 4, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants