Links mit https sind klickbar
This commit is contained in:
@@ -137,11 +137,6 @@ namespace ChatController.ChatKlassen
|
||||
{
|
||||
if (word.IndexOfAny(@":.\/".ToCharArray()) != -1)
|
||||
{
|
||||
if (Uri.IsWellFormedUriString(word, UriKind.Absolute))
|
||||
{
|
||||
return word.StartsWith("http://");
|
||||
}
|
||||
|
||||
if (UrlRegex.IsMatch(word))
|
||||
{
|
||||
var uri = new Uri(word, UriKind.RelativeOrAbsolute);
|
||||
|
||||
Reference in New Issue
Block a user