]> Sergey Matveev's repositories - public-inbox.git/commitdiff
mid: drop repeated ';' in mid_escape() regular expression
authorKyle Meyer <kyle@kyleam.com>
Sun, 20 Sep 2020 18:13:58 +0000 (14:13 -0400)
committerEric Wong <e@80x24.org>
Sat, 26 Dec 2020 19:30:42 +0000 (19:30 +0000)
(cherry picked from commit dc93c36eb62d36e649b9500b7f190687a3fbcffd)

lib/PublicInbox/MID.pm

index 369bb034c8dd9d5c03ce4beb2e35d1c5fc632a9c..5aeffb8c675bb2882a1f50b92505206e386191e9 100644 (file)
@@ -125,7 +125,7 @@ sub uniq_mids ($;$) {
 }
 
 # RFC3986, section 3.3:
 }
 
 # RFC3986, section 3.3:
-sub MID_ESC () { '^A-Za-z0-9\-\._~!\$\&\';\(\)\*\+,;=:@' }
+sub MID_ESC () { '^A-Za-z0-9\-\._~!\$\&\'\(\)\*\+,;=:@' }
 sub mid_escape ($) { uri_escape_utf8($_[0], MID_ESC) }
 
 1;
 sub mid_escape ($) { uri_escape_utf8($_[0], MID_ESC) }
 
 1;