jagrosh / jagrosh/Vortex

Invite Deleter Ignores Redirecting Links

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
600
Forks
338
PR merge metrics
No merged PRs in 30d

Description

Links such as `goo.gl` and `bit.ly` links are ignored when checking for discord invite links.

![image](https://user-images.githubusercontent.com/11318718/33619355-fc55ece6-d9b2-11e7-9772-04838b6313d2.png)

The only way I can think to fix this would be to send a GET request to every link sent and follow the redirects (unless there are too many redirects) to see if the final url matches your Regex found in **src/vortex/AutoMod.java:57**.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at src/vortex/AutoMod.java:57 and inspect how invite-link URLs are matched. Check how redirecting links such as goo.gl and bit.ly could be followed, then verify that the final URL is checked against the existing invite-link regex and that excessive redirects are handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.