We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d20b5a commit 086d0b9Copy full SHA for 086d0b9
2 files changed
manual-lookup.php
@@ -15,6 +15,10 @@
15
16
if (!empty($_GET['scope']) && is_string($_GET['scope'])) {
17
$scope = htmlspecialchars($_GET['scope'], ENT_QUOTES, 'UTF-8');
18
+
19
+ if ($scope == '404quickref') {
20
+ status_header(404);
21
+ }
22
} else {
23
$scope = '';
24
}
results.php
@@ -3,6 +3,14 @@
3
$_SERVER['BASE_PAGE'] = 'results.php';
4
include __DIR__ . '/include/prepend.inc';
5
6
+if (!empty($_GET['p']) && is_string($_GET['p'])) {
7
+ $show = htmlspecialchars($_GET['p'], ENT_QUOTES, 'UTF-8');
8
9
+ if ($show == '404manual') {
10
11
12
+}
13
14
// HTTP status line is passed on, signifies an error
site_header(
'Search results',
0 commit comments