projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
xmlhttprequest
/
resources
/
print-referer.cgi
1
#!/usr/bin/perl -wT
2
3
use CGI qw(:standard);
4
my $cgi = new CGI;
5
6
print "Content-type: text/plain\n\n";
7
if ($cgi->referer) {
8
print $cgi->referer;
9
} else {
10
print "NO REFERER";
11
}