Author: jalkanen
Date: Tue Mar 31 15:15:09 2009
New Revision: 760474
URL: http://svn.apache.org/viewvc?rev=760474&view=rev
Log:
Fixed problem with faulty URL checking.
Modified:
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
Modified:
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java?rev=760474&r1=760473&r2=760474&view=diff
==============================================================================
---
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
(original)
+++
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
Tue Mar 31 15:15:09 2009
@@ -45,7 +45,7 @@
DavItem di = m_provider.getItem( new DavPath("TestPage/deceit of the
tribbles.txt") );
assertNotNull( "No di", di );
- assertEquals("URL",
"http://localhost/attach/TestPage/deceit+of+the+tribbles.txt",
+ assertEquals("URL",
"http://localhost/attach/TestPage/deceit%20of%20the%20tribbles.txt",
di.getHref() );
}