Author:
team
Version:
1.14
Released:
11 November 2011
Category:
Multimedia

New#7: URL Parameters don't get submitted

When I have a URL like:

/image/2/300/200/5/1/www.external.com/generateImage.jpg?token=123&id=456

the parameters don’t get submitted. I could temporary fix this by adding the following to line 81-86 in lib/image.php:

// Check for optional parameters:
$uri = $_SERVER['REQUEST_URI'];
$a = explode('?', $uri);
if(count($a) == 2) {
    $param->file.= '?'.$a[1];
}

PS:

some services don’t provide an extension and in that case JIT doesn’t work (since it filters on extension in the .htaccess-file. Think of something like:

/image/2/300/200/5/1/www.external.com/generateImage?token=123&id=456&output=jpg

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details