Bläddra i källkod

Encode titles in NZB URLs. Spaces are allowed after the #, but it makes shell scripts more complicated

Zachary Kotlarek 9 år sedan
förälder
incheckning
c23691b5d3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -1328,7 +1328,7 @@ sub parseNZB($) {
 		$title = $item->{'description'};
 	}
 	if ($title) {
-		$url .= '#' . $title;
+		$url .= '#' . uri_encode($title);
 	}
 
 	# Extract the season and episode numbers