webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Variables
access-control-allow-lists.php File Reference

Variables

 $origin = $_GET['origin']
 
if($origin !='none') header("Access-Control-Allow-Origin if (isset( $_GET[ 'headers'])) header("Access-Control-Allow-Headers
 
 if (isset( $_GET[ 'methods'])) header("Access-Control-Allow-Methods
 
foreach($_SERVER as $name=> $value$headers ['get_value'] = isset($_GET['get_value']) ? $_GET['get_value'] : ''
 

Variable Documentation

◆ $headers

foreach ( $_SERVER as $name=> $value) $headers[ 'get_value'] = isset($_GET['get_value']) ? $_GET['get_value'] : ''

◆ $origin

$origin = $_GET['origin']

◆ if [1/2]

if ( $origin !='none') header("Access-Control-Allow-Origin if(isset($_GET['headers'])) header("Access-Control-Allow-Headers

◆ if [2/2]

if(isset($_GET['methods'])) header("Access-Control-Allow-Methods