diff options
author | Thorsten Klein <grobie@perlwizard.de> | 2016-01-15 00:18:52 +0100 |
---|---|---|
committer | Thorsten Klein <grobie@perlwizard.de> | 2016-01-15 00:18:52 +0100 |
commit | 061154bb62d51d15a77e43d836e45e0470e4864d (patch) | |
tree | 40da257d26544a0c951bd4525112737479844836 /src/net/java/sip/communicator | |
parent | c3b0c0f5194c44fa4c1397ffe05fb1f77e1654ca (diff) | |
download | jitsi-061154bb62d51d15a77e43d836e45e0470e4864d.zip jitsi-061154bb62d51d15a77e43d836e45e0470e4864d.tar.gz jitsi-061154bb62d51d15a77e43d836e45e0470e4864d.tar.bz2 |
Fix the replacement for direct image links
* URLs of the form https://my.example.com:12345/abc/def/file.jpg were
not replaced somehow
* simply changed the URL_PATTERN
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 f29a7ab..3bdaaa4 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?\\:\\/\\/*.*\\.(?:jpg|png|gif)"; + "https?\\:\\/\\/.*\\.(?:jpg|png|gif)"; /** * Configuration label shown in the config form. |