Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

fix: handle http protocol capitalization when checking links #814

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

dan-mba
Copy link
Member

@dan-mba dan-mba commented Jul 1, 2024

Changes proposed

It is possible currently to hide a link by capitalizing a letter in the http protocol.
This PR changes the regex to check for either case

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot! I saw someone trick the bot with this today, so perfect timing 🚀

@eddiejaoude eddiejaoude merged commit f83ff9f into main Jul 2, 2024
4 checks passed
@eddiejaoude eddiejaoude deleted the http branch July 2, 2024 16:21
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