-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idea: ability to add random string/bytes to the url for dynamic urls #234
Comments
Interesting! |
I've come up with some implementation
I wanna hear your opinion |
sorry for late response, i tested it with subdomain url and it errored out
|
would work. This is confusing... |
i would rather wrap the regex with braces or something. kind of like |
I don't like an approach that wraps the regex with braces because parsing those braces is not trivial in extreme cases such as So I've chosen to just escape all |
ah okay I see your reason |
How do you escape ? (query string), I try |
I don't know about escaping either.
This is a great idea. I'll implement it. |
I find out this escape sequence :
Escaping the slash |
I merged #549 Escaping on shells depends on how you quote it.
Just ok.
--max-repeat exists because how many times repeated by regex *, + is unknown and ideally a user sets it. |
Thanks ! |
Here's my suggestion
There would be something like
${random_string/bytes(length=10)}
And you could put it inside URL like this
http://redirect/add?url=${random_string(10)}
so you could benchmark the add redirect URL.This might be useful if you want to stress testing for a path that's dynamic.
The text was updated successfully, but these errors were encountered: