diff options
author | Thorsten.Klein <thorsten.klein@availon.eu> | 2016-01-14 17:43:33 +0100 |
---|---|---|
committer | Thorsten.Klein <thorsten.klein@availon.eu> | 2016-01-14 17:43:33 +0100 |
commit | c3b0c0f5194c44fa4c1397ffe05fb1f77e1654ca (patch) | |
tree | 6a323e14a8ce15e276858252739c073324d565d5 /src/net/java/sip/communicator | |
parent | b8c2b0260851755ee28fc494d2553d0edfdc420a (diff) | |
download | jitsi-c3b0c0f5194c44fa4c1397ffe05fb1f77e1654ca.zip jitsi-c3b0c0f5194c44fa4c1397ffe05fb1f77e1654ca.tar.gz jitsi-c3b0c0f5194c44fa4c1397ffe05fb1f77e1654ca.tar.bz2 |
Changed URL pattern for direct image links
* URL doesn't necessarily start with 'www'
Diffstat (limited to 'src/net/java/sip/communicator')
-rw-r--r-- | src/net/java/sip/communicator/impl/replacement/directimage/ReplacementServiceDirectImageImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/replacement/directimage/ReplacementServiceDirectImageImpl.java b/src/net/java/sip/communicator/impl/replacement/directimage/ReplacementServiceDirectImageImpl.java index 48bb362..f29a7ab 100644 --- a/src/net/java/sip/communicator/impl/replacement/directimage/ReplacementServiceDirectImageImpl.java +++ b/src/net/java/sip/communicator/impl/replacement/directimage/ReplacementServiceDirectImageImpl.java @@ -45,7 +45,7 @@ public class ReplacementServiceDirectImageImpl * The regex used to match the link in the message. */ public static final String URL_PATTERN = - "https?\\:\\/\\/(www\\.)*.*\\.(?:jpg|png|gif)"; + "https?\\:\\/\\/*.*\\.(?:jpg|png|gif)"; /** * Configuration label shown in the config form. |