pluto / web-prover-circuits

Circuits for Pluto's `web-prover`
Apache License 2.0
12 stars 0 forks source link

http: universal url match #27

Open lonerapier opened 3 weeks ago

lonerapier commented 3 weeks ago

Currently, http_parse_and_lock_start_line file uses exact string match to check request URL, but some authenticated URL contains user-specific parameters like:

Investigate:


I feel regex might be overkill for initial use case, although zk-regex is an already audited library that we should first look towards.

devloper commented 3 weeks ago

I think some reduced regex could be great here, i.e. it must be "length x, and characters must be one of set_of_characters"