The issue started because VLC would append http:// on any unknown
protocol address. This "feature" has been removed because it caused
users a headache. Users would try to manually enter an address for,
let's say, udp:// and VLC would then handle it has http://udp://.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
}
else
{
- NSString *o_url = [o_net_http_url stringValue];
-
- if ( ![o_url hasPrefix:@"http:"] && ![o_url hasPrefix:@"ftp:"]
- && ![o_url hasPrefix:@"mms"] && ![o_url hasPrefix:@"rtsp"] && ![o_url hasPrefix:@"rtmp"] )
- o_mrl_string = [NSString stringWithFormat: @"http://%@", o_url];
- else
- o_mrl_string = o_url;
+ o_mrl_string = [o_net_http_url stringValue];
}
[o_mrl setStringValue: o_mrl_string];
}