Git Product home page Git Product logo

Comments (6)

jpmens avatar jpmens commented on July 20, 2024

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.

job avatar job commented on July 20, 2024

I think the single quotes are set here: https://github.com/berthubert/simplomon/blob/main/minicurl.cc#L147

from simplomon.

job avatar job commented on July 20, 2024

@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.

jpmens avatar jpmens commented on July 20, 2024

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.

reinoud avatar reinoud commented on July 20, 2024

sorry for the confusion, I tried to not make any assumptions. So I did my best to describe the exact problem :-)

from simplomon.

reinoud avatar reinoud commented on July 20, 2024

@reinoud does this fix it?

I don't have a build environment here so I cannot test it

from simplomon.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.