-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Incorrect handling of non-ASCII characters in regular expressions #347
Comments
What do the headers say is the encoding of that output page? Is the string you used valid utf-8? |
@brian-brazil Of course! |
I'm looking for the HTTP response headers, which aren't included. This is probably not something I can debug from here, so you may need to dig into this yourself. |
Oh... i see. |
Okay, so it'd be interpreted as ASCII then I think. If this is still happening when you've an appropriate Content-Type header, then that's an issue. |
Thank you! I understand. |
Gzipped responses should be handled transparently. |
Host operating system:
blackbox_exporter version: output of
blackbox_exporter -version
What is the blackbox.yml module config.
What is the prometheus.yml scrape config.
What logging output did you get from adding
&debug=true
to the probe URL?What did you do that produced an error?
Just set the
fail_if_no_matches_regexp
parameter to a string containing Unicode charactersWhat did you expect to see?
Successful check that the substring is found in the response
What did you see instead?
Always a failed check because the line "Сделанно на платформе" does not match "СÐеÐ" аннРнна Ð Ð Ð "аÑ' нрÐðµ""
The text was updated successfully, but these errors were encountered: