Nicholas DiPiazza created TIKA-4262:
---------------------------------------

             Summary: In pipes XML config, List<String> serializes incorrect 
causing the parameters to be empty when read
                 Key: TIKA-4262
                 URL: https://issues.apache.org/jira/browse/TIKA-4262
             Project: Tika
          Issue Type: Bug
          Components: tika-pipes
            Reporter: Nicholas DiPiazza


tika configuration when saving a fetcher with a list of strings will look like 
this:

      <httpHeaders>[]</httpHeaders>
      <httpRequestHeaders>[Authorization: xyz123]</httpRequestHeaders>

These are invalid format. It's expecting them to be:

      <httpHeaders></httpHeaders>
      <httpRequestHeaders>
          <httpRequestHeader>Autorization: xyz123</httpRequestHeader>
      </httpRequestHeaders>

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to