diff options
Diffstat (limited to 'juick-common/src')
-rw-r--r-- | juick-common/src/main/java/com/juick/util/MessageUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/util/MessageUtils.java b/juick-common/src/main/java/com/juick/util/MessageUtils.java index 4de68cb9..62616bdf 100644 --- a/juick-common/src/main/java/com/juick/util/MessageUtils.java +++ b/juick-common/src/main/java/com/juick/util/MessageUtils.java @@ -299,7 +299,7 @@ public class MessageUtils { input = input.replace(urlMatcher.group(0), uriComponentsBuilder.build().toUriString()); } } - } catch (IllegalArgumentException e) { + } catch (IllegalArgumentException | NullPointerException e) { return input; } return input; |