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

Set nofollow on user-generated links #14189

Closed
hennevogel opened this issue Apr 19, 2023 · 0 comments · Fixed by #14193
Closed

Set nofollow on user-generated links #14189

hennevogel opened this issue Apr 19, 2023 · 0 comments · Fixed by #14193
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@hennevogel
Copy link
Member

To disincentivize spamdexing, links in user-generated content should be disavowed by annotation with rel="nofollow" attributes. Automated spam has already hit b.o.o in the wild.

Pass rendered markdown through the NoFollow scrubber already available in Rails.

Ideally this would be done during markdown rendering or in a single sanitization pass; see the unresolved discussion at vmg/redcarpet#720.

Stolen from openSUSE/osem#3131

@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels Apr 19, 2023
bmwiedemann added a commit to bmwiedemann/open-build-service that referenced this issue Jun 14, 2023
Bots are spamming us with hyperlinks to unrelated sites to increase their pages' score in search engines.
By adding rel="nofollow", this will be disincentivised.

Fixes openSUSE#14189

Co-authored-by: Jacob Michalskie <jacob.michalskie@suse.com>
adrianschroeter pushed a commit to adrianschroeter/open-build-service that referenced this issue Jun 29, 2023
Bots are spamming us with hyperlinks to unrelated sites to increase their pages' score in search engines.
By adding rel="nofollow", this will be disincentivised.

Fixes openSUSE#14189

Co-authored-by: Jacob Michalskie <jacob.michalskie@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant