You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the proxy to request a page (not using 'send_session' or 'user_agent' GET params)
Observe output
Expected result:
Output will be free of PHP errors
Actual result:
E_NOTICE errors are thrown from lines 172 and 184, and pollute the response.
Suggested fix: use "if (!empty($var))" instead of "if ($var)" to avoid throwing errors if the variables are undefined. There are probably a few more of these in the code too, these were the only I observed with my settings.
The text was updated successfully, but these errors were encountered:
benkaiser
added a commit
to benkaiser/php-simple-proxy
that referenced
this issue
Feb 3, 2015
Steps to reproduce:
Expected result:
Actual result:
Suggested fix: use "if (!empty($var))" instead of "if ($var)" to avoid throwing errors if the variables are undefined. There are probably a few more of these in the code too, these were the only I observed with my settings.
The text was updated successfully, but these errors were encountered: