File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1414< body spellcheck ="false ">
1515
1616 < h1 > PHP Cross Domain Proxy test page</ h1 >
17- < p > A "jQuery enabled" test page. Edit an example and push 🛫, or just use the browser developer console.</ p >
18- < p > < em > All</ em > requests will be sent through the proxy even if not < em > actually</ em > cross-domain, since this is a test page for that proxy.</ p >
19-
20- < h2 > Proxy whitelist</ h2 >
17+ < p > Edit an example and push 🛫, or just use the browser developer console.</ p >
18+ < p > The proxy is configured with the below whitelist.</ p >
2119 < pre id ="whitelist "> </ pre >
2220
2321 < h2 > Examples</ h2 >
2422
2523
2624< pre contenteditable >
2725// GET, plain, no nothing
28- $.get('http ://example.com')
26+ $.get('https ://example.com')
2927</ pre >
3028
3129
Original file line number Diff line number Diff line change 77
88 // Exact matching
99 ['http://www.yr.no/place/Sweden/Stockholm/Stockholm/forecast.xml ' ],
10-
10+
1111 // URL component matching
1212 ['host ' => 'localhost ' ],
13- ['host ' => 'example.com ' , 'scheme ' => 'http ' ],
13+ ['host ' => 'example.com ' , 'scheme ' => 'https ' ],
1414
1515 // Regex matching
1616 ['regex ' => '%^http://www.yr.no/place/Norway/% ' ],
You can’t perform that action at this time.
0 commit comments