scribe/spec
Edward Loveall e86108e18f
Rearrange article id parsing to be more reliable
The article ID parser looks for a string at the end of a URL path with
a bunch of hex digits. But it also has to handle user, tag, and search
URLs.

* /@ba5eba11
* /tag/0ddba11
* /search?q=ba5eba11

Some URLs are encoded as params. The parser used to look at the result
of the path first, then the params. But paths that ended in
`global-identity-2` messed that up because `2` is a hex digit at the
end of the path. This changes the logic to parse params first and paths
second which gets around this.
2023-03-25 16:32:37 -04:00
..
actions/articles Add support for missing posts 2022-06-17 16:00:01 -04:00
classes Rearrange article id parsing to be more reliable 2023-03-25 16:32:37 -04:00
components Add unique ID to headings 2023-03-25 11:20:14 -04:00
flows Initial app 2021-05-01 17:03:38 -04:00
models Handle gists with file extensions 2022-04-04 20:32:42 -04:00
setup Upgrade to Lucky 0.30.1 2022-07-17 11:55:51 -04:00
support Add support for missing posts 2022-06-17 16:00:01 -04:00
spec_helper.cr Initial app 2021-05-01 17:03:38 -04:00