diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-17 19:13:25 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-17 19:13:25 +0000 |
commit | 3a9bc6fc81ceca4909888b5f368226f1418dcb6d (patch) | |
tree | 6eb7b155ebd754288bfebad4de7ec9d57bbf8ddc /include | |
parent | 75e0fdb0108fbaeccf5a41defb574968e00525b3 (diff) |
Merged revisions 79904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10430)
........
r79904 | qwell | 2007-08-17 14:12:19 -0500 (Fri, 17 Aug 2007) | 11 lines
Don't send a semicolon over the wire in sip notify messages.
Caused by fix for issue 9938.
I basically took the code that existed before 9938 was fixed, and
copied it into a new function - ast_unescape_semicolon
There should be very few places this will be needed (pbx_config
does NOT need this (see issue 9938 for details))
Issue 10430, patch by me, with help/ideas from murf (thanks murf).
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79905 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/strings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h index 8b0daab87..76b58d715 100644 --- a/include/asterisk/strings.h +++ b/include/asterisk/strings.h @@ -147,6 +147,13 @@ char *ast_strip(char *s), char *ast_strip_quoted(char *s, const char *beg_quotes, const char *end_quotes); /*! + \brief Strip backslash for "escaped" semicolons. + \brief s The string to be stripped (will be modified). + \return The stripped string. + */ +char *ast_unescape_semicolon(char *s); + +/*! \brief Size-limited null-terminating string copy. \arg dst The destination buffer. \arg src The source string |