Having a bit of issues with htmlpurifier when it comes to links with the schemapart containing a dash, eg: "foo-bar://something/something-the-local-computer-handles-when-clicked"
This would be fairly straightforward with the URI.AllowedSchemes and writing a class for it, but a class with a dash in it's name isn't allowed in PHP. eg. in this case "HTMLPurifier_URIScheme_foo-bar".
As far as I'm aware, "+", "-"... etc are allowed by the rfc2396.
Having a bit of issues with htmlpurifier when it comes to links with the schemapart containing a dash, eg: "foo-bar://something/something-the-local-computer-handles-when-clicked"
This would be fairly straightforward with the URI.AllowedSchemes and writing a class for it, but a class with a dash in it's name isn't allowed in PHP. eg. in this case "HTMLPurifier_URIScheme_foo-bar".
As far as I'm aware, "+", "-"... etc are allowed by the rfc2396.