php-cross-domain-proxy
php-cross-domain-proxy copied to clipboard
PHP Proxy for Cross Domain Requests
This PR is to add an option that checks that ensures that the request to proxy comes from the same origin as the proxy server.
Hi there, I have added a define `CSAJAX_FILTER_REGEXP` to enable matching on the `$valid_requests` using `preg_match` instead of a simple string comparison. I have followed the style of the existing...
At the moment there is no possibility in the proxy to request resources that need authorization. If you add 'authorization' headers those are meant for access of the proxy.php file...
I have trouble retrieving data using encoded url. curl correctly retrieves data, if I urlencode whitespaces: `curl "http://birds.cz:8080/v1/eshop/messages?public=true&where=Active%20is%20true%20and%20Code%20is%20'ESHOP_MSG'"` But proxy server returns nothing, whether I encode url in header or...
At our company, we have been using php-cross-domain-proxy quite intensively. In general it works great but when issues occur it does not always behave as expected. To give an example:...
Improvement to enable HTTP error code when requesting the pages via this proxy. This solution could be improve to manage specifically all CURL error code (as in penpendede try), but...
I recommend to put 'csurl' string for the target url parameter in to a define: ``` /** * Define the target URL Parameter 'csurl' * Change appropriate */ define('CSURL', 'csurl');...