Download & Extend

$_SERVER['REQUEST_URI'] does not work on all platforms

Project:ImageCache
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

The imagecache.module uses $_SERVER['REQUEST_URI'] which isn't supported by all webservers. IIRC it works on Apache but not on IIS and others. The Drupal request_uri() function should be used instead. The attached patch makes this one small change.

Cheers,
Stella

AttachmentSizeStatusTest resultOperations
imagecache_request_uri.patch822 bytesIgnored: Check issue status.NoneNone

Comments

#1

Version:6.x-2.x-dev» 5.x-2.x-dev
Status:needs review» patch (to be ported)

committed to HEAD, need to be backported.

#2

Status:patch (to be ported)» fixed

actually doesn't apply to older versions.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.