Skip to content

Commit 714d2cd

Browse files
committed
fixed char encoded in urls #195
1 parent 84fce20 commit 714d2cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Url.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -592,10 +592,10 @@ private function setPath($path)
592592
$path = substr($path, 0, -strlen($file));
593593

594594
if (preg_match('/(.*)\.([\w]+)$/', $file, $match)) {
595-
$this->info['file'] = $match[1];
595+
$this->info['file'] = urldecode($match[1]);
596596
$this->info['extension'] = $match[2];
597597
} else {
598-
$this->info['file'] = $file;
598+
$this->info['file'] = urldecode($file);
599599
}
600600
}
601601

0 commit comments

Comments
 (0)