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/189e87ae-f5cf-4fa5-a0c5-8aed4fb49e4a%40apereo.org.

Reply via email to