Adding image urls with presets having $ in CSS file | Community
Skip to main content
Ravi_Pampana
New Participant
October 8, 2020
Declined

Adding image urls with presets having $ in CSS file

  • October 8, 2020
  • 4 replies
  • 1579 views

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
December 16, 2020

@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

Ravi_Pampana
New Participant
December 16, 2020

@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. 

Employee
December 16, 2020

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

Employee
October 9, 2020

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.