webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
referrer-check.php File Reference

Functions

 getReferrerPath ()
 
 putImage ()
 
 putFont ()
 

Variables

 $expectedReferrerPaths
 
 $from = $_GET["from"]
 
 $resource = $_GET["resource"]
 
 $referrerPath = getReferrerPath()
 
if($referrerPath===$expectedReferrerPaths[$from]) else
 

Function Documentation

◆ getReferrerPath()

getReferrerPath ( )

◆ putFont()

putFont ( )

◆ putImage()

putImage ( )

Variable Documentation

◆ $expectedReferrerPaths

$expectedReferrerPaths
Initial value:
"document" => "/css/css-resources-referrer.html",
"sheet" => "/css/resources/css-resources-referrer.css",
"importedSheet" => "/css/resources/css-resources-referrer-import.css",
"iframe" => "/from/iframe.html"
)
CFArrayRef array
Definition: AVFoundationCFSoftLinking.h:129

◆ $from

$from = $_GET["from"]

◆ $referrerPath

$referrerPath = getReferrerPath()

◆ $resource

$resource = $_GET["resource"]

◆ else

if ( $referrerPath===$expectedReferrerPaths[ $from]) else
Initial value:
{
header("HTTP/1.1 500 Internal Server Error")
const char * header
Definition: gflags_completions.cc:514