[teiid-issues] [JBoss JIRA] (TEIID-4090) Issue with entitysets/properties ending in auth or token

Ramesh Reddy (JIRA) issues at jboss.org
Thu Jun 9 18:45:00 EDT 2016


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

Ramesh Reddy commented on TEIID-4090:
-------------------------------------

Ok, I remember now why we need the static servlet. The $metadata can contain Annotation document links, in order to serve those separate documents I added this one. One example of such is invalid char replacement for XML payload stuff, there are other core annotation documents.

We can not get rid of it, any suggestions to narrow the scope of this?

> Issue with entitysets/properties ending in auth or token
> --------------------------------------------------------
>
>                 Key: TEIID-4090
>                 URL: https://issues.jboss.org/browse/TEIID-4090
>             Project: Teiid
>          Issue Type: Bug
>          Components: OData
>    Affects Versions: 8.12
>            Reporter: Steven Hawkins
>            Assignee: Ramesh Reddy
>             Fix For: 9.0, 8.12.5
>
>
> To handle oauth, we are check for uri.endsWith("auth") || uri.endsWith("token") - however valid uris can end with those characters as well.  An ioexception will be thrown instead of seeing the expected results - we also need to not simply throw an ioexception in ODataServlet as there is no server log of the exception and the client sees a 500 error.



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


More information about the teiid-issues mailing list