Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
298 stars 158 forks source link

Return "text/plain" content without replacing URLs #45

Closed webaddicto closed 7 years ago

webaddicto commented 7 years ago
    // Return plain text content without replacing URLs
    if(strpos($content_type, "text/plain") === 0){
        $response->setContent($str);
        return;
    }

Try to proxify this URL: https://raw.githubusercontent.com/Athlon1600/php-proxy-plugin-bundle/master/src/utils.php

Without this commit the proxy proxify all URLs.