diff options
| author | Ahmet Oeztuerk <Ahmet.Oeztuerk@consol.de> | 2025-12-12 11:16:09 +0100 |
|---|---|---|
| committer | Ahmet Oeztuerk <Ahmet.Oeztuerk@consol.de> | 2025-12-12 11:29:35 +0100 |
| commit | f8db90c206e777a21ff69a301406a11ca627034c (patch) | |
| tree | 2cc8a313cb5797a01d5f14234a312ef1c4230ff9 /.github | |
| parent | 737af667a212f7058143b34770f7f0af70aa8d9b (diff) | |
| download | monitoring-plugins-f8db90c206e777a21ff69a301406a11ca627034c.tar.gz | |
check_curl redirection test improvements
previously, the fragment was sent in the request from client, and the
server would parse and increment its value. the incremented value would
be set in the redirected URI.
this does not work as fragments are meaningless to servers and clients
like check_curl strip them in their GET request.
rewrite the fragment handling . if client sends a URI parameter with
'fragment' as its key, the server will set its value for its redirected
URI. it will come up both as a parameter and the fragment at the end.
use this new logic to rewrite the fragment redirection test. remove -p
$http_port argument on tests for this endpoint, which was making https
tests fail. correct the common test count from 75 to 95, as there are 20
total test assertions in the 8 times it uses the new endpoint. remove
unused code on that endpoint as well
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
