[teiid-issues] [JBoss JIRA] (TEIID-3841) sap-nw-gateway translator wrongly encodes when a parameter includes a space

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu Feb 11 16:15:00 EST 2016


    [ https://issues.jboss.org/browse/TEIID-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161966#comment-13161966 ] 

RH Bugzilla Integration commented on TEIID-3841:
------------------------------------------------

jolee at redhat.com changed the Status of [bug 1306734|https://bugzilla.redhat.com/show_bug.cgi?id=1306734] from NEW to MODIFIED

> sap-nw-gateway translator wrongly encodes when a parameter includes a space
> ---------------------------------------------------------------------------
>
>                 Key: TEIID-3841
>                 URL: https://issues.jboss.org/browse/TEIID-3841
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.7
>            Reporter: Marc Shirley
>            Assignee: Steven Hawkins
>             Fix For: 8.12.3, 8.13, 8.7.3.6_2
>
>
> Submitting a function through the sap-nw-gateway translator results in overzealous encoding of the URL when one of the parameters includes a space like "AA AB".  The '?' character (along with the spaces in any parameters) in the expected URL [1] is encoded to '%3F' resulting in an error like [2] below. 
> [1] https://sapes1.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/GetFlightDetails?airlineid='AA AB'&connectionid='0017'
> [2] org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30504 flightdemo: TEIID17013 Wrong response from source with HTTP Response Code 404: Vendor Code "005056A509B11EE1B9A8FEC11C21D78E": With message "Resource not found for the segment 'GetFlightDetails%3Fairlineid='AA%20AB'&connectionid='0017''.": Detail Error null



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list