$_SERVER['REQUEST_URI'] does not work on all platforms
stella - October 2, 2008 - 20:35
| Project: | ImageCache |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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
| Attachment | Size |
|---|---|
| imagecache_request_uri.patch | 822 bytes |

#1
committed to HEAD, need to be backported.
#2
actually doesn't apply to older versions.
#3
Automatically closed -- issue fixed for two weeks with no activity.