Created: (SOLR-190) Encoding declaration of POSTed XML documents is ignored

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Created: (SOLR-190) Encoding declaration of POSTed XML documents is ignored

Hudson (Jira)
Encoding declaration of POSTed XML documents is ignored
-------------------------------------------------------

                 Key: SOLR-190
                 URL: https://issues.apache.org/jira/browse/SOLR-190
             Project: Solr
          Issue Type: Bug
          Components: update
            Reporter: Bertrand Delacretaz
            Priority: Minor


Currently, the post.sh script and the SimplePostTool use this header to define encoding:

  Content-type:text/xml; charset=utf-8

And the XML encoding declaration of the POSTed document is ignored.

According to RFC 3023, the correct way would be to use "Content-type:application/xml" and use the XML document's encoding.

One this is fixed, the "please use UTF-8 encoding" warning is SimplePostTool can be removed.




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