in fact in the source there is

<a 
href="https://localhost:8443/catalog/control/EditCategory?productCategoryId=DVD&#43;r";>
which is really stupid !! as it means 2 parameters.
So the ofbizUrl tag is encoding, but i don't understand why it's
encoding like this.



2009/6/17 Patrick Antivackis <patrick.antivac...@gmail.com>

> Hello,
> Before filling a bug i would like to confirm it with you and validating the
> way to correct it.
>
> Let's say I want to create a new category which ID is  DVD+R
> Creation is ok through the admin interface, but whenever i want to access
> this category, the get parameter categoryId=.... of the url is wrong as it's
> not encoded, so we have :
> https://localhost:8443/catalog/control/EditCategory?productCategoryId=DVD+Rinstead
>  of
>
> https://localhost:8443/catalog/control/EditCategory?productCategoryId=DVD%2BR
> I take a category example, but it can apply to product, party, .... well
> all entities.
> In the freemarker templates, the urls usually look like this :
> <a
> href="<@ofbizUrl>EditCategory?productCategoryId=${productCategoryId}</@ofbizUrl>">
> so is it the ofbizUrl that is not doing it's job, or should the url be :
> <a
> href="<@ofbizUrl>EditCategory?productCategoryId=${productCategoryId?url}</@ofbizUrl>">
>
> Thank you in advance for your answer
>
>
>
>

Reply via email to