1
0
Эх сурвалжийг харах

OpenDrive doesn't like question marks

Zachary Kotlarek 9 жил өмнө
parent
commit
f9ec708837
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      opendrive.php

+ 1 - 0
opendrive.php

@@ -53,6 +53,7 @@ function dbOpen() {
 function pathCleanup($path) {
 	$path = preg_replace('/\/+$/', '', $path);
 	$path = preg_replace('/^\/+/', '', $path);
+	$path = preg_replace('/\?/g', '_', $path);
 	return $path;
 }