repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
security
/
resources
/
credentials-in-referer.php
blob
7dc94581a94acc701fea277b12767f92caff1829
1
<
?php
2
header
(
"Cache: no-cache, no-store"
);
3
4
$refer
=
$_SERVER
[
'HTTP_REFERER'
];
5
if
(
$refer
&&
stristr
(
$refer
,
"login"
))
6
print
(
"log('External script: FAIL')"
);
7
else
8
print
(
"log('External script: PASS')"
);
9
?
>