Using AntiSamy conventions?

Is there a convention to add our own definition in somewhat that is not stored in the ColdBox file structure?

Regards,

Andrew Scott

http://www.andyscott.id.au/

Hi Andrew,

Yes you can.

Read how to build custom policy file. Then add in coldbox plugin
Antisamy folder.
http://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project

Thanks
Sana

No I said I don’t want to store it in the ColdBox framework, because if I
have to ever replace the ColdBox directory I lose this.

Which is why I asked about conventions, extending or whatever.

Even if I create my own and store it as you said it won’t work.

Would you like to try again?

Regards,
Andrew Scott
http://www.andyscott.id.au/

I also hate it when people don't read posts, and have never tried it either.
It wastes my time.

Regards,
Andrew Scott
http://www.andyscott.id.au/

Could you extend the shipped plugin to provide your own convention, or
even better, a config? Haven't looked at the plugin so this might be
harder than I'd guess, but it seems likely that the way that path gets
built wouldn't be hard to refactor, andeverthing else would stay the
same.

Dave

http://wiki.coldbox.org/wiki/Plugins:AntiSamy.cfm#Custom_Policies

http://github.com/ColdBox/coldbox-platform/commit/0bc069130aa58264f57e60d88d63c3c85f4514de


Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

@Andrew, I hate it when people are rude to others who are taking their
time to help.

Here's what would have been a nice way to answer Sana: "Thanks, but
I'm looking for a way to do this outside of the Coldbox directory, so
that upgrades are not an issue."

Seems doubly rude when it was right there in the wiki, at the very top
of the page, but you didn't search for it...

And then to find out Sana wrote the plugin for it…

Jason Durham

Not sure might be worth a shot.

Regards,
Andrew Scott
http://www.andyscott.id.au/

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of enigment
Sent: Saturday, 16 October 2010 1:20 AM
To: coldbox@googlegroups.com
Subject: Re: [coldbox:6267] Using AntiSamy conventions?

Could you extend the shipped plugin to provide your own convention, or
even better, a config? Haven't looked at the plugin so this might be

harder

than I'd guess, but it seems likely that the way that path gets built

wouldn't

Thanks Luis, I must have missed that bit in the docs.

Regards,

Andrew Scott

http://www.andyscott.id.au/

Well the page I was reading last night actually did not have that on it,
which is why I asked.

Agreed I could have said it a better way, but I did say where can I put it
not how do I create it.

Regards,
Andrew Scott
http://www.andyscott.id.au/

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of Ken Smith
Sent: Saturday, 16 October 2010 5:12 AM
To: ColdBox Platform
Subject: [coldbox:6270] Re: Using AntiSamy conventions?

@Andrew, I hate it when people are rude to others who are taking their

time

to help.

Here's what would have been a nice way to answer Sana: "Thanks, but I'm
looking for a way to do this outside of the Coldbox directory, so that
upgrades are not an issue."

Seems doubly rude when it was right there in the wiki, at the very top of

the

Luis, I put your solution in place and I am still getting this error

Application Execution Exception

Error Type: AntiSamy.InvalidPolicyException : [N/A]

Error Messages: Invalid Policy File: custom

The available policy files are myspace,ebay,slashdot,tinymce,antisamy

Regards,

Andrew Scott

http://www.andyscott.id.au/