-
I have attached a web project illustrates the problem.
The class bugExample.ContentProvidingFilter is a servlet filter that
actually returns content, in much the same way that the Struts2 filter does.
In web.xml, this class is configured to respond to that url pattern "/filter/*".
Thus, if you have this web app configured, and hit the URL
http://server/context/filter/foo
you get back the HTML...
2009-11-10 23:18:26 UTC by kdhunter
-
VhCFS7 efpkuckmwwdl, [url=http://qeskafzbqfgx.com/]qeskafzbqfgx[/url], [link=http://snxavqyqwrcv.com/]snxavqyqwrcv[/link], http://ksjzcoqpwatb.com/.
2009-10-29 05:32:35 UTC by nobody
-
I added a test class. First test "testNoscriptAtEnd" shows the problem described above.
Second test shows that there are more problems with the "noscript" part of that method. If there is no closing tag, then we get still a NullPointerException at the end of the document.
The following while-loop survives with both test cases:
do {
tag = parser.getNextTag();.
2009-10-21 21:23:07 UTC by interest
-
This is more or less a reopen of Bug Id 1969106. I am using 1.7.
I got a java.lang.NullPointerException
at com.meterware.httpunit.WebResponse.readTags(WebResponse.java:1145)
The HTML paged ends with a strange (invalid?) noscript tag in the following way:
...
t
The while-loop in readTags() method does not stop on the end tag, but on any other...
2009-10-21 20:57:06 UTC by interest
-
When running with the latest versions of jtidy-r918 and httpunit-1.7 I see the following errors:
java.lang.NoSuchMethodError: org.w3c.tidy.Tidy.setCharEncoding(I)V
at com.meterware.httpunit.parsing.JTidyHTMLParser.getParser(JTidyHTMLParser.java:90)
at com.meterware.httpunit.parsing.JTidyHTMLParser.parse(JTidyHTMLParser.java:46)
at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:271)
2009-10-16 17:37:52 UTC by petetsm
-
When cookieJar parses the cookies, it looks for = sign and does not separate the cookies as per ;.
In case when cookies received are:
Set-Cookie: sessionId=123456; path=/; HttpOnly
path will be parsed to be /,HttpOnly. This creates a problem for further cookies as it will try to match the source path start to be cookie path and it has already been set wrong. acceptCookie function in...
2009-10-02 20:22:37 UTC by prafullab
-
ServletUnit does not implement getNamedDispatcher() and always returns null. This is preventing me from testing some code which relies heavily on named dispatchers.
2009-09-23 09:08:49 UTC by twohey
-
wolfgang_fahl committed revision 1061 to the httpunit SVN repository, changing 3 files.
2009-09-10 05:23:52 UTC by wolfgang_fahl
-
Suppose a webpage has a link (a href) value like this:
href="javascript:navigateToUrl('12345')"
Then the javascript function might look like this:
function navigateToUrl(id) {
var url = "http://";
url += "www.someWebSite.com";
url += "/mypage.php?id="
window.location.href = url + id;
}
Now my question is whether httpunit is able to retrieve...
2009-09-09 00:09:03 UTC by tj41338935
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-09-03 02:21:45 UTC by sf-robot