Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1767

DataImportHandler: dataimporter.functions.escapeSql() does not escape backslash character

    XMLWordPrintableJSON

Details

    Description

      MySQL requires that the backslash and the quote character used to quote the string in the query be escaped. Currently only single and double quotes are escaped.

      See: http://dev.mysql.com/doc/refman/4.1/en/mysql-real-escape-string.html

      Attachments

        1. SOLR-1767.patch
          2 kB
          Sean Timm

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              timmsc Sean Timm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: