summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-13 19:53:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-13 19:53:55 +0000
commit087300b294b87ab2705244908ec932a5a8c98262 (patch)
tree2f95e894f876d3d8876ac8f1902edc994b9992bd /plugins/TabSRMM/src/chat
parentcb6be442595479bfd577d4cc7399861ff246f5e7 (diff)
fix for the url extractor
git-svn-id: http://svn.miranda-ng.org/main/trunk@11377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp
index 0dc798560b..1f320d304a 100644
--- a/plugins/TabSRMM/src/chat/window.cpp
+++ b/plugins/TabSRMM/src/chat/window.cpp
@@ -204,6 +204,7 @@ bool IsStringValidLink(TCHAR* pszText)
{
if (pszText == NULL)
return false;
+
if (mir_tstrlen(pszText) < 5 || _tcschr(pszText, '"'))
return false;