>
> But cannot be accessed with "http://127.0.0.1:8080/pets-store"; (with the
> missing forward slash at the end). I get a "Cannot find an app for
> context 'null'." message on the browser.
>
This is a bug. When URL is "http://127.0.0.1:8080/pets-store";, then URI
becomes "/pets-store". UUF assumes an URI has at least 02 slashes [1].
Will fix this.

[1]
https://github.com/wso2/carbon-uuf/blob/v1.0.0-m5/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/util/RequestUtil.java#L51

On Thu, May 26, 2016 at 7:26 PM, Manuranga Perera <[email protected]> wrote:

> it was working on old release
> https://github.com/wso2/carbon-uuf/blob/v1.0.0-m2/uuf-core/src/main/java/org/wso2/carbon/uuf/UUFRegistry.java#L82
> but some how it has been removed in new, we should add it back
>
> On Thu, May 26, 2016 at 9:17 AM, Sudharma Subasinghe <[email protected]>
> wrote:
>
>> Hi Hemika,
>>
>> I faced the same problem. I think, it is because the implementation says
>> "An URI must end with a slash."
>>
>> [1]
>> https://github.com/wso2/carbon-uuf/blob/v1.0.0-m5/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/util/RequestUtil.java#L29
>>
>> On Thu, May 26, 2016 at 6:39 PM, Manuranga Perera <[email protected]> wrote:
>>
>>> Actually without slash one should redirect to the other , that's what
>>> tomcat does
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sudharma Subasinghe,
>> Software Engineer,
>> WSO2 Inc.
>> Email: [email protected] <[email protected]>
>> Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sajith Janaprasad Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to