[
https://issues.apache.org/jira/browse/SOLR-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263676#comment-14263676
]
Uwe Schindler edited comment on SOLR-6907 at 1/3/15 11:43 PM:
--------------------------------------------------------------
I have never seen this issue on the famous "Uwe Schindler" username ... but
windows disabled those tests :-)
In fact, URLEncoder is not the correct way to do it, because it use {{"\+"}}
for whitespace... Unfortunately, Java has no non-form-encoded URL encoder, so
you would do {{{.replace("\+", "%20")}} (not replaceAll!!!! The CharSequence
one!!!)
was (Author: thetaphi):
I have never seen this issue on the famous "Uwe Schindler" username ... but
windows disabled those tests :-)
In fact, URLEncoder is not the correct way to do it, because it use "+" for
whitespace... Unfortunately, Java has no non-form-encoded URL encoder, so you
would do {{{.replace("+", "%20")}} (not replaceAll!!!! The CharSequence one!!!)
> URLEncode documents directory in MorphlineMapperTest
> ----------------------------------------------------
>
> Key: SOLR-6907
> URL: https://issues.apache.org/jira/browse/SOLR-6907
> Project: Solr
> Issue Type: Bug
> Components: contrib - MapReduce, Tests
> Reporter: Ramkumar Aiyengar
> Assignee: Erick Erickson
> Priority: Minor
>
> Currently the test fails if the source is checked out on a directory whose
> path contains, say spaces..
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]