浏览代码

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

Zachary Kotlarek 9 年之前
父节点
当前提交
c23691b5d3
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  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