Markus Hedlund
Markus Hedlund

Reputation: 24324

Disable URI validation in HTML Purifier

For various reasons I would like to disable the URI validation in HTML Purifier, is this possible?

I realize the possible security implications this would have for many sites, but not actually in this case.

Upvotes: 1

Views: 170

Answers (1)

Edward Z. Yang
Edward Z. Yang

Reputation: 26762

You can do it by patching the source, replacing AttrDef_URI with a stub that does nothing. But this is super insecure.

Upvotes: 1

Related Questions