You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2018/09/12 15:31:38 UTC

[GitHub] pySilver commented on issue #634: combine_javascript with multiple aliased domains causes JS exception

pySilver commented on issue #634: combine_javascript with multiple aliased domains causes JS exception
URL: https://github.com/apache/incubator-pagespeed-mod/issues/634#issuecomment-420692668
 
 
   I'm facing the same issue. It's been 3 and I assume it's not fixed, right?
   
   My setup is the following A.com/b [dir /b proxy_pass to] -> B.com/ [this is where pagespeed is installed]
   
   B.com authorizes both domains via `pagespeed Domain` directive. And here the result:
   
   URL: `https://a.com/b/somepage/`
   ```html
   <script src="https://a.com/b/somefiles.min.js,qver==1.1.13+readmore.min.js,qver==1.1.13.pagespeed.jc.XQoUShKijI.js"></script>
   <script>eval(mod_pagespeed_B4Q2861Jx2);</script> <-- this id are not mentioned in above script
   <script>eval(mod_pagespeed_GbZ0EMVee5);</script> <-- this id are not mentioned in above script
   ```
   
   Same URL at second domain: `https://b.com/somepage/`
   ```html
   
   <script src="https://b.com/somefiles.min.js,qver==1.1.13+readmore.min.js,qver==1.1.13.pagespeed.jc.Rxyn2edOtN.js"></script>
   <script>eval(mod_pagespeed_01_huc9P8R);</script> <-- this id IS mentioned in above script
   <script>eval(mod_pagespeed_BuMGtAp1Fq);</script> <-- this id IS mentioned in above script
   ```
   
   What is funny here: 
   * 2 generated scripts have different names (`...XQoUShKijI.js`,  `...Rxyn2edOtN.js`) but they are **identical**
   * so, js placed at A.com has IDs from B.com
    
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services