Skip to content

Commit 2aaa22c

Browse files
committed
Allow repeated headers - fix softius#2
1 parent 4cef435 commit 2aaa22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
$response_header = 'Location: ' . $_SERVER['REQUEST_URI'] . '?csurl=' . $value;
114114
}
115115
if ( !preg_match( '/^(Transfer-Encoding):/', $response_header ) ) {
116-
header( $response_header );
116+
header( $response_header, false );
117117
}
118118
}
119119

0 commit comments

Comments
 (0)