From 965a22e2bd1d02077fef37c0731f2d5f167d3595 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 30 Dec 2016 21:42:24 -0800 Subject: [PATCH] reactions: Fix support for "+1" emoji. Previously, we didn't allow the `+1` character in the URL pattern. --- zproject/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zproject/urls.py b/zproject/urls.py index 4af0f1eca2..4a03099723 100644 --- a/zproject/urls.py +++ b/zproject/urls.py @@ -207,7 +207,7 @@ v1_api_and_json_patterns = [ # reactions -> zerver.view.reactions # PUT adds a reaction to a message # DELETE removes a reaction from a message - url(r'^messages/(?P[0-9]+)/emoji_reactions/(?P[0-9a-zA-Z.\-_]+(?[0-9]+)/emoji_reactions/(?P[+0-9a-zA-Z.\-_]+(?