We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f723a2 commit 554025eCopy full SHA for 554025e
feed.php
@@ -4,7 +4,7 @@
4
5
$outdir = "out";
6
7
-if((!isset($_GET['asn'])) && (!isset($_GET['country']))) {
+if((!isset($_GET['asn'])) && (!isset($_GET['country'])) && (!isset($_GET['rir'])) ) {
8
header("Content-Type: text/plain");
9
echo file_get_contents("README");
10
exit(0);
@@ -25,7 +25,7 @@ function aslimit($as) {
25
26
// Process Country value
27
if(isset($_GET['rir'])) {
28
- $val = strtoupper(strip_tags($_GET['rir']));
+ $val = strtolower(strip_tags($_GET['rir']));
29
$items = preg_split("/;/", $val);
30
$items = array_map('trim', $items);
31
$items = array_map('rlimit', $items);
0 commit comments