From 1fee5d7242e363b69cef40a52057a52ffd1115f1 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 7 Sep 2010 10:36:58 +0000 Subject: [PATCH] - Allow CGI in APS-packages as we can handle that now, fixes #404 --- lib/classes/aps/class.ApsParser.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/classes/aps/class.ApsParser.php b/lib/classes/aps/class.ApsParser.php index 2413b793..efb58382 100644 --- a/lib/classes/aps/class.ApsParser.php +++ b/lib/classes/aps/class.ApsParser.php @@ -1314,12 +1314,14 @@ class ApsParser //check for special CGI url handlers within mappings + /** + * as of 0.9.13 we can handle CGI ;-), #404 + * $XmlCgiMapping = $ParentMapping->children('http://apstandard.com/ns/1/cgi'); - - if($XmlCgiMapping->handler) - { + if($XmlCgiMapping->handler) { $Error[] = $lng['aps']['cgi']; } + */ //resolve deeper mappings @@ -1567,7 +1569,9 @@ class ApsParser } //CGI - + /** + * as of 0.9.13 we can handle CGI ;-), #404 + * if ($this->aps_version == '1.0') { // the good ole way @@ -1586,6 +1590,7 @@ class ApsParser { $Error[] = $lng['aps']['cgi']; } + */ //webserver modules