renatomarinho / laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization
MIT License
2.4k stars 275 forks source link

Uri's in JS stripped of double slash #167

Open david-nguyen opened 2 years ago

david-nguyen commented 2 years ago

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