Fix query strings breaking intra-thread quote links.

This commit is contained in:
ccd0 2016-05-28 23:20:41 -07:00
parent 221113b857
commit 244f525d9f

View File

@ -146,7 +146,7 @@ class Post
match = quotelink.href.match /// match = quotelink.href.match ///
^https?://boards\.4chan\.org/+ ^https?://boards\.4chan\.org/+
([^/]+) # boardID ([^/]+) # boardID
/+(?:res|thread)/+\d+(?:/[^#]*)?#p /+(?:res|thread)/+\d+(?:[/?][^#]*)?#p
(\d+) # postID (\d+) # postID
$ $
/// ///