We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 19 months ago

Last modified 19 months ago

#3370 closed Defect (fixed)

Configure htmlawed to insert rel=nofollow

Reported by: ewinslow Owned by: cash
Priority: normal Milestone: Elgg 1.8.1
Component: Core Version: 1.7
Severity: minor Keywords:
Cc: brett@… Difficulty:

Description

To discourage spam.

See http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.4.7

Not hard, but 1.8 is frozen, so pushing to 1.8.1 unless we really want to make an exception.

Change History (9)

comment:1 Changed 2 years ago by ewinslow

This following is all it would take to make all parsed links add rel=nofollow

$config["anti_link_spam"] = array('/./', '');

comment:2 Changed 20 months ago by cash

  • Resolution set to Closed
  • Status changed from new to closed

Closing in favor of #3411. That's a better option since it is independent of the filtering plugin and it does not add the nofollow to what is stored in the database.

comment:3 Changed 20 months ago by ewinslow

  • Resolution Closed deleted
  • Status changed from closed to reopened

#3411 does not address links in user-generated data such as that from TinyMCE.

comment:4 Changed 20 months ago by cash

good point - I missed that. Maybe there is a way for the filtering plugins to know whether they are being requested on input vs output

comment:5 Changed 20 months ago by ewinslow

We could address this when we revisit hooks in 1.9

comment:6 Changed 19 months ago by cash

  • Owner set to cash
  • Status changed from reopened to new

comment:7 Changed 19 months ago by cash

  • Status changed from new to assigned

comment:8 Changed 19 months ago by Cash Costello

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixes #3370 running the anti-spam option of htmlawed when filtering for output

Changeset: edec092e1aa616561063214a66620f9b6852875d

comment:9 Changed 19 months ago by Cash Costello

Fixes #3370 running the anti-spam option of htmlawed when filtering for output

Changeset: edec092e1aa616561063214a66620f9b6852875d

Note: See TracTickets for help on using tickets.