Files that need converting are:
- core/modules/aggregator/tests/aggregator_test.module
| 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!