Comments (6)
I don't see the single quote anywhere in the source, but I'm not familiar with it either.
Are you sure it's not part of the payload you're transmitting? An example would possible help.
from simplomon.
I think the single quotes are set here: https://github.com/berthubert/simplomon/blob/main/minicurl.cc#L147
from simplomon.
@reinoud does this fix it?
diff --git minicurl.cc minicurl.cc
index f4fad29..90c236d 100644
--- minicurl.cc
+++ minicurl.cc
@@ -144,7 +144,7 @@ std::string MiniCurl::getURL(const std::string& str, const bool nobody, MiniCurl
d_host_list = nullptr;
}
if(res != CURLE_OK) {
- throw std::runtime_error("Unable to retrieve URL '"+str+ "': "+string(curl_easy_strerror(res)));
+ throw std::runtime_error("Unable to retrieve URL " + str + " : " + string(curl_easy_strerror(res)));
}
d_filetime=-1;
from simplomon.
Thanks, @job; goes to show I should shut up when clueless. I might have been thrown by OP saying "clickable link in the Pushover app", hence my thinking it was the payload, not taking into account the payload is generated.
from simplomon.
sorry for the confusion, I tried to not make any assumptions. So I did my best to describe the exact problem :-)
from simplomon.
@reinoud does this fix it?
I don't have a build environment here so I cannot test it
from simplomon.
Related Issues (19)
- Add ability to provide IPv4/v6 address for HTTP tests
- create docker image that downloads config from an env variable
- add hardcoded IP addresses for https check
- Doesn't compile on FreeBSD without help (Doctest) HOT 1
- Add ping test HOT 1
- notifier: add a generic webhook notification capability
- ntfy notifier doesn't have params for url and authentication HOT 4
- HTTP endpoint and HTTP redir check are vulnerable to Brotli ("zip") bombs if Brotli support is enabled
- netmon.cc doesn't compile on FreeBSD - netinet differences HOT 3
- Add pong test -- alive reporting from simplomon HOT 2
- Add file test with regexp
- feature request: check dane records against smtp tls cert
- warnings about unused variable during compile HOT 1
- Ubuntu 20.04: compilation failed in `testrunner` HOT 3
- Check disk usage, potentially via SSH?
- "identical" alerts should not lead to revoking the old alert
- Unexpected response from SMTP server HOT 3
- should store length of a warning once it is solved & add that to dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplomon.