Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 May 2013 at 21:58 UTC
Updated:
29 Jul 2014 at 22:21 UTC
Jump to comment: Most recent file
Files that need converting are:
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1999338-3-aggregator_test-SERVER-variable-replacement.patch | 1006 bytes | chertzog |
| #1 | 1999338-1-aggregator_test-SERVER-variable-replacement.patch | 1.13 KB | chertzog |
Comments
Comment #1
chertzogFirst shot.
Comment #3
chertzogstupid syntax.
Comment #4
chertzogComment #5
pbuyle commentedNot using
Drupal::request()->server->has('...')as replacement of the originalisset($_SERVER['...'])is ok here. Without the consumed server value, the returned value ofstrtotime()andstripslasheswill beNULLand"". Since$if_modified_sinceand$if_none_matchare compared to expected values using==, the behavior should be the same.Comment #6
catchCommitted/pushed to 8.x, thanks!