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

Feature request: Add Blacklist. #435

Open
michaelachmann opened this issue Apr 4, 2018 · 2 comments
Open

Feature request: Add Blacklist. #435

michaelachmann opened this issue Apr 4, 2018 · 2 comments

Comments

@michaelachmann
Copy link

michaelachmann commented Apr 4, 2018

Since my shortening service is becoming more popular the amount of spammer making use of my service increased as well. In order to lock spammers out it would be perfect to have a domain blacklist - URLs on these domains will not be shortened anymore.

In the LinkHelper there's already some hard coded URLs which the link is checked against before being shortened. This function could be extended in order to implement a function on the admin interface to add blacklisted URLs.

@klezm
Copy link

klezm commented Sep 21, 2018

I implemented the feature to implement a whitelist and a blacklist. Feel free to test and improve.
PR: #477

@draft1
Copy link

draft1 commented Dec 10, 2018

Waiting for this feature to get implemented. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants