--- rtwi_old/input.php  2012-02-20 22:20:53.000000000 +0100
+++ rtwi/input.php      2012-02-20 23:18:16.000000000 +0100
@@ -276,7 +276,7 @@
                                $_SESSION["rtwi_err"] = "notorrenturl";
                                header( "location: {$config["index"]}?mod=addtorrent" );
                                exit;
-                       } elseif ( substr( $_REQUEST["torrenturl"], 0, 7 ) != "http://" ) {
+                       } elseif ( ( substr( $_REQUEST["torrenturl"], 0, 7 ) != "http://" ) && ( substr( $_REQUEST["torrenturl"], 0, 7 ) != "magnet:" ) ) {
                                $_SESSION["rtwi_err"] = "notanurl";
                                header( "location: {$config["index"]}?mod=addtorrent" );
                                exit;
