mirror of
				https://gitee.com/ledc/IYUUAutoReseed
				synced 2025-10-31 00:39:50 +00:00 
			
		
		
		
	优化过滤transmission连接URL兼容性(修复网址后有斜杠,无法连接的问题)
This commit is contained in:
		| @@ -133,7 +133,7 @@ class transmission extends AbstractClient | ||||
|      */ | ||||
|     public function __construct($url = 'http://127.0.0.1:9091/transmission/rpc', $username = null, $password = null) | ||||
|     { | ||||
|         $this->url = $url; | ||||
|         $this->url = rtrim($url, '/'); | ||||
|         $this->username = $username; | ||||
|         $this->password = $password; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user