1
0
Fork 0
forked from OpenNeo/impress
impress/app
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
..
assets Add NC prices to item pages 2024-06-18 13:25:29 -07:00
controllers Oops, fix crashing bug when Item Getting Guide has *no* Dyeworks 2024-06-17 13:03:12 -07:00
helpers Oops, fix regex patterns to use \A to \z instead of ^ to $ 2024-06-28 01:32:15 -07:00
javascript Oops, fix bug in recent movie-pausing bugfix! 2024-06-12 17:14:16 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Oops, fix regex patterns to use \A to \z instead of ^ to $ 2024-06-28 01:32:15 -07:00
services Load *all* NC Mall pages in nc_mall:sync 2024-05-10 17:39:40 -07:00
views Credit the Owls team for Dyeworks extra info in the Item Getting Guide 2024-06-18 16:49:09 -07:00