Browse Source

OpenDrive doesn't like question marks

Zachary Kotlarek 9 years ago
parent
commit
f9ec708837
1 changed files with 1 additions and 0 deletions
  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;
 }