Skip to content
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

Siege fails on script paths containing a / in the query string #199

Open
RichardNeill opened this issue Sep 18, 2021 · 0 comments
Open

Siege fails on script paths containing a / in the query string #199

RichardNeill opened this issue Sep 18, 2021 · 0 comments

Comments

@RichardNeill
Copy link

If an url has a "/" in the query string, e.g. b/c as in
localhost/index.php?a=b/c
then siege is fine with it.

But if the index.php contains another resource, such as

<script src='refract.php?js=lib/jquery.min.js'></script>

where there is a "/" in the parameter, then siege fails with:
Address resolution failed at sock.c:158 with the following error:: Invalid argument

Adding a printf() to sock.c at line 160 indicates that
hn == "refract.php?js=lib"

I hope that's helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant