Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top