Browse Source

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

Zachary Kotlarek 9 năm trước cách đây
mục cha
commit
c23691b5d3
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

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