there's no logic here to make sure that really long paths aren't invalidated by this check. try testing with, e.g. `/r/abcdefghijklmnopqrstuvwxyz/comments/test`