You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2009/08/05 04:16:14 UTC

[jira] Commented: (SOLR-1332) Escape spaces in URLs in URLDataSource

    [ https://issues.apache.org/jira/browse/SOLR-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739311#action_12739311 ] 

Erik Hatcher commented on SOLR-1332:
------------------------------------

Just escaping spaces isn't good enough, though certainly a workable fix in simple cases.   Each substitution into a URL would need to be escaped in some fashion to do this properly, right?   Sounds tricky!

> Escape spaces in URLs in URLDataSource
> --------------------------------------
>
>                 Key: SOLR-1332
>                 URL: https://issues.apache.org/jira/browse/SOLR-1332
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>         Environment: Any
>            Reporter: Chris Eldredge
>         Attachments: SOLR-1332.patch
>
>
> At present the URLDataSource does not correctly escape spaces in URLs.  This particularly affects usages where ${dataimporter.last_index_time} is present in the URL to support delta imports.  That variable contains a space which should be escaped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.