Changeset 1711583
- Timestamp:
- 08/10/2017 03:08:26 PM (9 years ago)
- Location:
- contentqube/trunk
- Files:
-
- 3 edited
-
feedimporter.php (modified) (1 diff)
-
image-proxy.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
contentqube/trunk/feedimporter.php
r1664668 r1711583 2 2 /* 3 3 Plugin Name: ContentQube Feed Plugin 4 Version: 1.0. 24 Version: 1.0.3 5 5 Author: OneQube Team 6 6 Author URI: http://www.oneqube.com/ -
contentqube/trunk/image-proxy.php
r1651129 r1711583 67 67 // (re-)send the headers 68 68 foreach ($response_headers as $key => $response_header) { 69 // Rewrite the `Location` header, so clients will also use the proxy for redirects. 70 if (preg_match('/^Location:/', $response_header)) { 71 list($header, $value) = preg_split('/: /', $response_header, 2); 72 $response_header = 'Location: ' . $_SERVER['REQUEST_URI'] . '?csurl=' . $value; 73 } 74 if (!preg_match('/^(Transfer-Encoding):/', $response_header)) { 75 header($response_header, false); 76 } 69 header($key . ': ' . $response_header, false); 77 70 } 78 71 // finally, output the content -
contentqube/trunk/readme.txt
r1664668 r1711583 39 39 == Changelog == 40 40 41 = 1.0.3 = 42 Fixed headers in imageproxy 43 41 44 = 1.0.2 = 42 45 Resolved backwards compatibility issue to PHP version 5.3
Note: See TracChangeset
for help on using the changeset viewer.