@vaporeon_ what if the inner quotation marks in a field aren’t backslash escaped? (or does Apache ensure that they are? in which case, never mind)

@vaporeon_ something like this i might consider just doing in multiple stages. or maybe just write a bespoke goddamn parser, but i’ve never really mastered grammar furmulation well enough fur that not to be a pain in the ass when i’ve tried it

@vaporeon_ much of the time you don’t have to deal with robustly matching on an irregular language

@vaporeon_ @wallhackio oh huh, i would have expected them to be URL-encoded in the request. granted that really is only a suggestion fur even the characters you must encode. you can just not

@wallhackio @vaporeon_ i don’t think you would ever reasonably have to deal with that scenario but like, that would fuck everything up fur regex parsing

@wallhackio @vaporeon_ imagine a purrticularly evil user who wanted to make your life hell and decided to add quotation marks to the user agent

@vaporeon_ i think you’re onto something there; iirc nested bracketing symbols isn’t in the set of regular languages, and doing this robustly is basically an equivalent purroblem

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.