Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
2.10
-
None
-
None
-
All
Description
wagon-webdav is not calling EncodingUtil prior to instantiating MkColMethod which results in
Caused by: java.lang.IllegalArgumentException: Invalid uri 'https://snafu.sharefile-webdav.com/Shared Folders/Fit - Expert Services/IBM/': escaped absolute path not valid
when there are special characters in the URI string.
Changing line 153 of org.apache.maven.wagon.providers.webdav.WebDavWagon from
method = new MkColMethod( url );
to
method = new MkColMethod( EncodingUtil.encodeURLToString( url ) );
solves the issue although you may want to fix it elsewhere in the flow.
Attachments
Attachments
Issue Links
- depends upon
-
WAGON-488 Upgrade WebDAV Wagon to a more recent HttpClient version (4.5.3)
- Closed