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 "Noble Paul (JIRA)" <ji...@apache.org> on 2009/08/05 07:43:14 UTC

[jira] Issue Comment Edited: (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=12739346#action_12739346 ] 

Noble Paul edited comment on SOLR-1332 at 8/4/09 10:42 PM:
-----------------------------------------------------------

it is possible to escape strings using the in-built functions http://wiki.apache.org/solr/DataImportHandler#head-5675e913396a42eb7c6c5d3c894ada5dadbb62d7
{code}
${dataimporter.functions.encodeUrl(dataimporter_last_index_time)}
{code}

      was (Author: noble.paul):
    it is possible to escape strings using the in-built functions
{code}
${dataimporter.functions.encodeUrl(dataimporter_last_index_time)}
{code}
  
> 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.