XF 2.1 2.1.2 upgrade now having wierd HTML issues...

The code is emitting erroneous stuff at times. I can't put my finger on it directly because it periodically fails and then if I breath on the system (like twiddle some template mods on and off), it goes away. The essence is that when it puts out the url for css.php, it follows it with not ? but ,q...

The busted pages rather than this ...
Code:
<a class="html-attribute-value html-resource-link" target="_blank" href="https://ncwoodworker.net/forums/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less&\
amp;s=2&amp;l=1&amp;d=1562856709&amp;k=37a2b0a06c8fd77cb951ee11d322fe09282a5ec3" rel="noreferrer noopener">

have this...

Code:
<a class="html-attribute-value html-resource-link" target="_blank" href="https://ncwoodworker.net/forums/A.css.php,qcss=public,P3Astructured_list.less,P2Cpublic,P3Aextra.less,as=2,a\
l=1,ad=1562797905,ak=de17b3ddef1c2314c922b853c16a0470dc7c4119.pagespeed.cf.xvjOa98MkR.css" rel="noreferrer noopener">

Note that instead of "css.php?css", I'm getting "A.css,qcss".

I hunted down the code in Templater.php which creates the css.php url and I can't figure out how this is possible.
 

Chris D

XenForo developer
Staff member
That isn't possible in our code so the cause is external to the software.

In fact, there's perhaps a clue there
Code:
ad=1562797905,ak=de17b3ddef1c2314c922b853c16a0470dc7c4119.pagespeed.cf

If you have something related to pagespeed, or cloudflare, or similar, then it appears to be that which is modifying the output of the page.
 
Top