Exercise / HTMLPurifierBundle

HTML Purifier is a standards-compliant HTML filter library written in PHP.
http://htmlpurifier.org/
Other
275 stars 56 forks source link

Combining "rel=" properties with URI.Munge #90

Closed Soonz closed 1 year ago

Soonz commented 2 years ago

Hello,

I want to use URI.Munge but with the nofollow property and it doesn't work.

URI.Munge: '/redirect?url=%s' 
HTML.Nofollow: true 
HTML.TargetBlank: true 
HTML.TargetNoopener: true 
HTML.TargetNoreferrer: true 

Is it possible or it needs an update ?

Thanks.

HeahDude commented 2 years ago

Hello @Soonz, this should be possible indeed as there are nothing telling otherwise at http://htmlpurifier.org/live/configdoc/plain.html#URI.Munge. Maybe this issue should be opened in https://github.com/Exercise/HTMLPurifierBundle instead?

HeahDude commented 1 year ago

Closing for lack of feedback. Feel free to reopen, thanks.