impress/app/models/item/search
Emi Matchu 2a34e8be6d Oops, fix regex patterns to use \A to \z instead of ^ to $
Oh huh, TIL in Ruby `^` *always* means "start of line", whereas in many
languages' regular expression engines it means "start of string" unless
you enable a special multiline flag for the pattern.

I've fixed this in a number of expressions now!

I'm noticing this in the context of doing some security training work
where this the cause of a sample vulnerability, but, looking at our own
case, I don't think there was anything *abusable* here? But this is
just more correct, so let's be more correct!
2024-06-28 01:32:15 -07:00
..
error.rb Start building new item search 2023-10-23 19:05:03 -07:00
query.rb Oops, fix regex patterns to use \A to \z instead of ^ to $ 2024-06-28 01:32:15 -07:00