Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9546

CSS minimization and relative urls are not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • None
    • None
    • None
    • 4.2 M10

      On site 'http://my.domain/preview/accueil-reso/fr/index.html', the minimized css is :

      /*! File : /skins/reso/resources/assets/vendors/reso-icon-font/reso-icon-font.css */
      @font-face{font-family:'Reso Icon Font';src:url("/skins/reso/resources/assets/vendors/reso-icon-font/reso-icon-font.eot");

      which is fine

      On site 'http://my.domain/preview/test6/fr/index.html', the minimized css is

      /*! File : /skins/reso/resources/assets/vendors/reso-icon-font/reso-icon-font.css */
      @font-face{font-family:'Reso Icon Font';src:url("/test6/skins/reso/resources/assets/vendors/reso-icon-font/reso-icon-font.eot");
      

      that does not work due to the context "/test6".

      On the front-office it is working fine for both url: 'http://reso.tao.anyware.corp' and 'http://reso.tao.anyware.corp/test6'

      In the original file there is:

      src: url('./reso-icon-font.eot');
      

            glefebvre Grégory Lefebvre (Inactive)
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: