Wink uriInfo brakes absolute paths
----------------------------------

                 Key: AMDATU-443
                 URL: http://jira.amdatu.org/jira/browse/AMDATU-443
             Project: Amdatu
          Issue Type: Bug
            Reporter: Paul Bakker


{code}
@Context UriInfo uriInfo;
{code}

Provides information about the current request such as the requested url.

{code}
uriInfo.getAbsolutePath()
{code}

This should give the absolute path, but the path is incorrect. All methods 
related to absolute paths have the same problem.

For 
http://localhost:8080/rest/student/courses it returns 
http://localhost:8080/rest/student/student/courses.

I'm not sure if this is an Amdatu bug or a bug in Wink itself, but I can't find 
any reports in Wink jira. It might have something to do with how the wink 
servlet is registered.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to