8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54aec6b commit 3cf12cdCopy full SHA for 3cf12cd
src/controllers/UploadController.php
@@ -167,16 +167,17 @@ function getUrlParam(paramName) {
167
</script>";
168
}
169
170
- private function _pathinfo($path, $options = null) {
+ private function _pathinfo($path, $options = null)
171
+ {
172
$path = urlencode($path);
173
$parts = is_null($options) ? pathinfo($path) : pathinfo($path, $options);
174
if(is_array($parts)) {
- foreach($parts as $field => $value)
175
+ foreach($parts as $field => $value) {
176
$parts[$field] = urldecode($value);
- }
177
- else
+ }
178
+ } else {
179
$parts = urldecode($parts);
180
181
return $parts;
182
-
183
0 commit comments