3
function pathencode($path) {
4
return str_replace(',', '%2c', urlencode($path));
7
$val = "X-Sendfile2: " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range"];
9
if ($_GET["range2"]) $val .= ", " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range2"];
b'\\ No newline at end of file'