This repository has been archived by the owner on Apr 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 540
Unable to fetch URL from Query parameter #36
Comments
Proposed fix on line 67: define("PROXY_PREFIX", "http" . (isset($_SERVER['HTTPS']) ? "s" : "") . "://" . $_SERVER["SERVER_NAME"] . ($_SERVER["SERVER_PORT"] != 80 ? ":" . $_SERVER["SERVER_PORT"] : "") . $_SERVER["SCRIPT_NAME"] . "?"); |
Out of curiosity, what web server are you using? |
It is nginx/1.10.0. You seem to be passing REST style params[0] which may not be supported by default. |
Just confirm this. |
Same here with nginx/1.9.10 |
@r3ver53r Finally had time to test your proposed fix (wanted to make sure it played correctly with Everything looked good so I made the change; thanks for the suggestion! |
joshdick
added a commit
that referenced
this issue
Jul 30, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
As per the script, the domain should be entered in the below format:
https://mydomain.com/miniProxy.php/http://example.net/
Although, my web server is treating it as a normal path and giving a 404 error.
If I change the "/" to "?", as mentioned below, then the proxy works fine. Please check.
https://mydomain.com/miniProxy.php?http://example.net/
The text was updated successfully, but these errors were encountered: