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 "Coda Hale (JIRA)" <ji...@apache.org> on 2007/02/10 00:05:32 UTC

[jira] Created: (SOLR-155) Field contents not escaped when using libxml-ruby

Field contents not escaped when using libxml-ruby
-------------------------------------------------

                 Key: SOLR-155
                 URL: https://issues.apache.org/jira/browse/SOLR-155
             Project: Solr
          Issue Type: Bug
          Components: clients - ruby - flare
            Reporter: Coda Hale
            Priority: Critical


Solr::Field.new(:text => "& > <").to_xml produces a bunch of libxml warnings and truncates the text.

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


[jira] Resolved: (SOLR-155) Field contents not escaped when using libxml-ruby

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-155.
-------------------------------

    Resolution: Fixed

Committed.  Thanks again Coda!

> Field contents not escaped when using libxml-ruby
> -------------------------------------------------
>
>                 Key: SOLR-155
>                 URL: https://issues.apache.org/jira/browse/SOLR-155
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - ruby - flare
>            Reporter: Coda Hale
>            Priority: Critical
>         Attachments: solrb_xml_escaping_fix.diff
>
>
> Solr::Field.new(:text => "& > <").to_xml produces a bunch of libxml warnings and truncates the text.

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


[jira] Updated: (SOLR-155) Field contents not escaped when using libxml-ruby

Posted by "Coda Hale (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Coda Hale updated SOLR-155:
---------------------------

    Attachment: solrb_xml_escaping_fix.diff

Here's a failing unit test and a fix for the problem. Sorry! My bad.

> Field contents not escaped when using libxml-ruby
> -------------------------------------------------
>
>                 Key: SOLR-155
>                 URL: https://issues.apache.org/jira/browse/SOLR-155
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - ruby - flare
>            Reporter: Coda Hale
>            Priority: Critical
>         Attachments: solrb_xml_escaping_fix.diff
>
>
> Solr::Field.new(:text => "& > <").to_xml produces a bunch of libxml warnings and truncates the text.

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