UploadUrl
. Fortunately, this simple patch allows me to use something like $UploadUrl = '/uploads'
@@ -1939,7 +1942,7 @@ my ($url) = @_; my ($site, $imagePrefixes); - $imagePrefixes = 'http:|https:|ftp:'; + $imagePrefixes = 'http:|https:|ftp:|/'; $imagePrefixes .= '|file:' if (!$LimitFileUrl); return 0 unless ($url =~ /^($imagePrefixes).+\.$ImageExtensions$/); return 0 if ($url =~ /"/); # No HTML-breaking quotes allowed