andresriancho / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
12 stars 15 forks source link

Please restore Policy constructor that takes an InputStream #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Previous versions of AntiSamy provided a Policy constructor that accepted an 
input stream. That was very useful to us, because we store our policy 
definition in our own store, that is not accessible via a URL. That constructor 
was removed in AntiSamy 1.5. Could you please restore it? I understand there 
will be some limitations, such as not being able to include a nested policy 
definition. Thanks!

Original issue reported on code.google.com by danr...@gmail.com on 6 Feb 2013 at 3:28

GoogleCodeExporter commented 9 years ago
Fixed in f788dbe990dd32ec5faf1055ad7bc237a4624fa3

Thanks for the issue report! Please note that an exception *will* be thrown if 
your policy tries to import other files.

Original comment by kristian...@gmail.com on 14 Feb 2013 at 5:37