summaryrefslogtreecommitdiff
path: root/bPod/rssProxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'bPod/rssProxy.php')
-rw-r--r--bPod/rssProxy.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/bPod/rssProxy.php b/bPod/rssProxy.php
new file mode 100644
index 0000000..d9c6e44
--- /dev/null
+++ b/bPod/rssProxy.php
@@ -0,0 +1,11 @@
+<?php
+$rss = $_GET['rss'];
+// make sure that some page is really being called
+if ($rss && $rss != ""){
+ // make sure that an http call is being made - otherwise there's access to any file on machine...
+ if ((strpos($rss, "http://") === 0) || (strpos($rss, "https://") === 0)){
+ readfile($rss);
+ }
+}
+
+?> \ No newline at end of file