Athlon1600 / php-proxy-app

Web Proxy Application built on php-proxy library ready to be installed on your server
https://www.php-proxy.com/
MIT License
823 stars 516 forks source link

Img src not loaded #181

Open vletroye opened 4 years ago

vletroye commented 4 years ago

Hi,

I am testing your php-proxy (to replace the abandonned PHProxy) with the page www.w3c.org. I see that the images with a src="/path/filename" (without any extension) are not loaded.

Ex: The img here under (used as bullet point on w3c) must have 'https://www.w3.org/2008/site/images/ico-plus' as a full url

Expand

But as it seems not handled by php-proxy, it resolves into http:///2008/site/images/ico-plus

Is there anything that can be done to support such src for img ?

Kind regards

ch4rc0al1080 commented 4 years ago

I found that jsproxy uses service worker to manage these problems.Maybe this can help .@Athlon1600

ch4rc0al1080 commented 4 years ago

https://github.com/EtherDream/jsproxy/blob/master/docs/blogs/js-hook.md