By the way, I'm using CAS 5.3.5.

On Tuesday, August 20, 2019 at 4:58:36 PM UTC+1, Pedro Rosas wrote:
>
> Hi all,
>
> I'm facing a weird issue on the URL calculation.
> I get different outputs for the same inputs...
>
> On my custom "casLoginView.html" I have the following image:
>
> *<img th:src="@{/themes/xpto/images/image.svg}"></img>*
>
>
> *On runtime this is replaced by:*
>
> *<img src="/prefix/themes/xpto/images/image.svg" />   -- This path doesn't 
> exist... The correct one should be "/prefix/cas-overlay/themes/...."*
>
> ---------
>
> But... On my custom "layout.html" I also have an image:
>
> <img th:src="@{/themes/xpto/images/logo.svg}"></img>
>
> *But this one gets replaced by:*
>
> *<img src="/prefix//cas-overly/themes/xpto/images/*logo*.svg" />   -- The 
> double '//' is a bad thing... but this version works correctly and gets the 
> correct prefix **"/prefix/cas-overlay/themes/...."*
>
> *-----*
>
> Do you guys have any idea why the URL replacement logic is different?
> Why is the first one missing the "/cas-overlay" prefix?
>
>
> Thanks in advance.
> Best Regards,
>   Pedro Rosas
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c3093f8c-8b9a-42db-9d5c-08fbb177fd13%40apereo.org.

Reply via email to