-
Notifications
You must be signed in to change notification settings - Fork 259
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: link checking missing scheme #10073
Conversation
9315d99
to
f5b2dc7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This smells like a case that can be unit-tested 😈
f5b2dc7
to
5c4076d
Compare
Does the code check for dangerous URL schemes like "file://" or "ftp://"? |
5c4076d
to
54a3fea
Compare
How are these schemes dangerous for phishing? sorry my knowledge is limited about the cases. |
This pull request is about fixing a problem we discussed in the public chat. The reason is that parse_url does not work if the given string does not contain something that looks like a protocol: An additional check, does the mail contain links with unusual protocols, sounds like a good enhancement to me. |
Signed-off-by: Hamza Mahjoubi <[email protected]>
54a3fea
to
9bb48cd
Compare
I don't know if they are dangerous for phishing specifically but they are dangerous in general. For instance "ftp://domain/folder/file.doc" will trigger the download and opening of a external file. "file://folder/file.exe" will trigger the opening of a local executable. This in not a blocker for me, just thought the warning could be included also. |
No description provided.