summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.d
diff options
context:
space:
mode:
authorAhmet Oeztuerk <Ahmet.Oeztuerk@consol.de>2025-12-04 16:52:55 +0100
committerAhmet Oeztuerk <Ahmet.Oeztuerk@consol.de>2025-12-04 17:03:57 +0100
commite0b30cc6e82113491261c872a371a2fa0b4db3ba (patch)
treec32106392c9e12e66fcc9c160624ffa22385e367 /plugins/check_load.d
parent7ab5b3ba34128949902cb966ab73d84f8fb4113f (diff)
downloadmonitoring-plugins-e0b30cc6e82113491261c872a371a2fa0b4db3ba.tar.gz
append the query string from parsed uri
Check the UriUriA object, and if query string exists append it to the new_url. Only appends the query part, fragments are still not appended Function redir parses the new location header value using the uriParseUriA function already, which populates the query field. This field was already being printed, but it was not being appended to the new_url during its construction. Redirection chain of check_curl --onredirect=follow now mimics the chain of check_http --onredirect=follow. Tested on the url: mail.google.com/chat
Diffstat (limited to 'plugins/check_load.d')
0 files changed, 0 insertions, 0 deletions