mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk gtk) when a tracker is manually added to a torrent, check the tracker's validity with tr_urlIsValidTracker()
This commit is contained in:
parent
2cca699f06
commit
afe6d42ac1
1 changed files with 1 additions and 1 deletions
|
@ -2264,7 +2264,7 @@ on_add_tracker_response( GtkDialog * dialog, int response, gpointer gdi )
|
|||
|
||||
if( url && *url )
|
||||
{
|
||||
if( gtr_is_supported_url( url ) )
|
||||
if( tr_urlIsValidTracker( url ) )
|
||||
{
|
||||
char * json = g_strdup_printf(
|
||||
"{\n"
|
||||
|
|
Loading…
Reference in a new issue