Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

fix: fix bug on check vulnerable browser#27

Open
GalliumWang wants to merge 2 commits into
jonasstrehle:mainfrom
GalliumWang:main
Open

fix: fix bug on check vulnerable browser#27
GalliumWang wants to merge 2 commits into
jonasstrehle:mainfrom
GalliumWang:main

Conversation

@GalliumWang

Copy link
Copy Markdown

No description provided.

@jonasstrehle

Copy link
Copy Markdown
Owner

Hey @GalliumWang, can you explain the bug?

@GalliumWang

Copy link
Copy Markdown
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
Copy Markdown
Author

Hey @GalliumWang, can you explain the bug?

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

@jonasstrehle

Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants