summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-29 15:58:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-29 15:58:28 +0200
commit8b2e49a8152d49831e357d1f128848d6c4dab889 (patch)
tree88c5bdc81e4712ebda21fa661543150151922eaf
parent89cc0327197bcff83ba24d681b15fd6dc19417a2 (diff)
downloadabrt-8b2e49a8152d49831e357d1f128848d6c4dab889.tar.gz
abrt-8b2e49a8152d49831e357d1f128848d6c4dab889.tar.xz
abrt-8b2e49a8152d49831e357d1f128848d6c4dab889.zip
abrt_rh_support: change message so that URL does not have comma added to it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--lib/Utils/abrt_rh_support.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Utils/abrt_rh_support.cpp b/lib/Utils/abrt_rh_support.cpp
index 3a14850b..3785a4b7 100644
--- a/lib/Utils/abrt_rh_support.cpp
+++ b/lib/Utils/abrt_rh_support.cpp
@@ -480,7 +480,9 @@ send_report_to_new_case(const char* baseURL,
atch_state->http_resp_code);
/* else: only attach body exists */
}
- retval = xasprintf("Case created: %s, but report attachment failed: %s",
+ /* Note: to prevent URL misparsing, make sure to delimit
+ * case_location only using spaces */
+ retval = xasprintf("Case created: %s but report attachment failed: %s",
case_location, errmsg);
break;