trim_url breaks ckeditor on invision power forum

10 views
Skip to first unread message

John Mase

unread,
Dec 23, 2015, 10:24:59 PM12/23/15
to ngx-pagespeed-discuss
i cant see any comment in debug mode, if someone want to validate the bug on my forum, i can email you my domain including a test account.

so when i edit my post, instead of going to ckeditor, it actually iframe my entire forum main page instead.
im using the latest pagespeed version.

for now i have trimurl removed and it works just fine now

and merry christmas.

John Mase

unread,
Dec 23, 2015, 10:43:26 PM12/23/15
to ngx-pagespeed-discuss
Expected behaviour (trim url disabled):

#1: http://prntscr.com/9hx1o0
#2: http://prntscr.com/9hx1w4

Unexpected behaviour (trim url enabled):

#1: http://prntscr.com/9hx2q3

the issue is that with trim enabled it embed the index forum page instead of using ckeditor but if u rightclick and open new page then we can see the ckeditor mode

Jeff Kaufman

unread,
Dec 24, 2015, 8:17:19 AM12/24/15
to ngx-pagesp...@googlegroups.com
Turning off trim_urls makes sense. If your page is loading things
with ajax PageSpeed will be wrong about the context in which it thinks
the html will be shown, and it will trim urls incorrectly. This is
why the filter is off by default.

The other option is to use "pagespeed Disallow
*/path/to/broken/files/* to tell PageSpeed to ignore the requests that
it's mishandling.
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ngx-pagespeed-di...@googlegroups.com.
> Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
> For more options, visit https://groups.google.com/d/optout.

John Mase

unread,
Dec 24, 2015, 8:27:25 AM12/24/15
to ngx-pagespeed-discuss
although i had trim url for a year now, only the recent update caused problem
Reply all
Reply to author
Forward
0 new messages