renatomarinho/laravel-page-speed

Uri's in JS stripped of double slash

david-nguyen opened this issue · 0 comments

Detailed description

I noticed the URI's inside javascript blocks are stripped.

For example:

https://www.test.com/ were changed to https:www.test.com

image

What the script looks like after disabling the comment portion of laravel page speed.

image

Context

Unexpected behavior which caused my script to error out.

Possible implementation

Ignore uri's.

Your environment

  • Version used (e.g. PHP 7.1, HHVM 3): PHP 8, Laravel Page Speed 2.1