Adding image urls with presets having $ in CSS file | Community
Skip to main content
Ravi_Pampana
New Participant
Oct 8, 2020 11:26 PM UTC
Declined

Adding image urls with presets having $ in CSS file

When we add absolute image url with preset having $, the css file will not load and throw exception from OOB code (com/adobe/granite/ui/clientlibs/script/Utils.java). 

 

But by escaping $ we can overcome above issue and load the css file with preset correctly.

 

.load {
      background:url("https://scene7.image.com/is/image/adobe/someimageutl?\$native\$");
}

 

 

4 replies

Employee
Dec 16, 2020 11:57 PM UTC

@ravi_pampana 

Thanks for sharing the update. You took the right approach as this seemed to be an issue rather than a feature request. So lets keep the IDEAS section of the community for submitting feature requests. Thanks

Translate
Ravi_Pampana
New Participant
Dec 16, 2020 11:53 PM UTC

@hamid1350 , I raised day care ticket after finding the root cause of the issue (E-000224031) and I was told the issue will be fixed in AEM 6.6. 

Translate
Employee
Dec 16, 2020 8:24 PM UTC

Updating the status accordingly since this seems something that requires problem analysis to understand the root cause.

Translate
Employee
Oct 9, 2020 12:09 AM UTC

Hi @ravi_pampana 

This looks like more of something that requires problem analysis to understand the root cause. I believe at this point it does not qualify for an idea or feature request. Your participation in the community is appreciated.

Translate