[Owasp-antisamy] Owasp-antisamy Digest, Vol 20, Issue 3

Gerstenberger, Scott K SKGerstenberger at midamerican.com
Fri Jul 17 12:45:02 EDT 2009


Thanks, I think I have it going now (sort of).  Appeared to be working on my test site (using the antisamy-slashdot.xml file), but when I tried to add an attribute to the DIV, I am now getting an error on the file Policy.cs

Thinking that I may have updated the XML wrong, I downloaded and tried using the XML file "antisamy-ebay-1.3.xml", but got the same result.

I'm getting a System.NullReferenceException
{"Object reference not set to an instance of an object."}

public Tag getTagByName(string tagName)
        {
            return (Tag)tagRules[tagName];
        }

   at org.owasp.validator.html.Policy.getTagByName(String tagName)
   at org.owasp.validator.html.scan.AntiSamyDOMScanner.recursiveValidateTag(HtmlNode node)
   at org.owasp.validator.html.scan.AntiSamyDOMScanner.scan(String html, String inputEncoding, String outputEncoding)
   at org.owasp.validator.html.AntiSamy.scan(String taintedHTML, Policy policy)
   at _Default.btnSubmit_Click(Object sender, EventArgs e) in C:\Users\Scott\Documents\Visual Studio 2008\WebSites\OWasp_AntiSamy_Test\Default.aspx.vb:line 13
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Is this "user error" or is this a known issue?


-----Original Message-----
From: owasp-antisamy-bounces at lists.owasp.org [mailto:owasp-antisamy-bounces at lists.owasp.org] On Behalf Of owasp-antisamy-request at lists.owasp.org
Sent: Friday, July 17, 2009 11:00 AM
To: owasp-antisamy at lists.owasp.org
Subject: Owasp-antisamy Digest, Vol 20, Issue 3

Send Owasp-antisamy mailing list submissions to
	owasp-antisamy at lists.owasp.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.owasp.org/mailman/listinfo/owasp-antisamy
or, via email, send a message with subject or body 'help' to
	owasp-antisamy-request at lists.owasp.org

You can reach the person managing the list at
	owasp-antisamy-owner at lists.owasp.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Owasp-antisamy digest..."


Today's Topics:

   1. .NET dll file (Gerstenberger, Scott K)
   2. Re: .NET dll file (Dave Moore)


----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Jul 2009 07:24:33 -0500
From: "Gerstenberger, Scott K" <SKGerstenberger at midamerican.com>
Subject: [Owasp-antisamy] .NET dll file
To: "owasp-antisamy at lists.owasp.org" <owasp-antisamy at lists.owasp.org>
Message-ID:
	<A2A90A8DEFE09D46AF7662CC98BE9107A41B0511B0 at MHDES-MBX1V.i.midamerican.com>
	
Content-Type: text/plain; charset="us-ascii"

Is there anywhere I can get the already compiled .dll file for AntSamy? I would like to test it out with a website I have.  I have downloaded the source and when built it, it comes out as an executable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-antisamy/attachments/20090717/257771a2/attachment-0001.html 

------------------------------

Message: 2
Date: Fri, 17 Jul 2009 09:18:03 -0400
From: Dave Moore <sorakiu at gmail.com>
Subject: Re: [Owasp-antisamy] .NET dll file
Cc: "owasp-antisamy at lists.owasp.org" <owasp-antisamy at lists.owasp.org>
Message-ID:
	<41a9905d0907170618s2623f42v6a8017473c0a5c88 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

you can still use the .exe as a DLL -- just add a reference to it.
alternatively, you could try changing the settings in project settings from
.exe to .dll

-dave

On Fri, Jul 17, 2009 at 08:24, Gerstenberger, Scott K <
SKGerstenberger at midamerican.com> wrote:

>  Is there anywhere I can get the already compiled .dll file for AntSamy? I
> would like to test it out with a website I have.  I have downloaded the
> source and when built it, it comes out as an executable.
>
> _______________________________________________
> Owasp-antisamy mailing list
> Owasp-antisamy at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-antisamy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-antisamy/attachments/20090717/df13a37d/attachment-0001.html 

------------------------------

_______________________________________________
Owasp-antisamy mailing list
Owasp-antisamy at lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-antisamy


End of Owasp-antisamy Digest, Vol 20, Issue 3
*********************************************


More information about the Owasp-antisamy mailing list