Skip to content

Commit

Permalink
lost: trimed spaces before reolving locationURI value
Browse files Browse the repository at this point in the history
fixes GH2569 (#2569). Allow parse exmaples from RFC7840

(cherry picked from commit f9d424a)
  • Loading branch information
sergey-safarov authored and miconda committed Dec 11, 2020
1 parent f72f1ef commit cb6d5b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/lost/functions.c
Expand Up @@ -298,6 +298,8 @@ int lost_held_function(struct sip_msg *_m, char *_con, char *_pidf, char *_url,
if(geo.len == 0) {
LM_WARN("%s element not found\n", HELD_TYPE_URI);
geo.s = NULL;
} else {
geo.s = lost_trim_content(geo.s, &geo.len);
}
}
if(xmlStrcmp(cur_node->name,
Expand Down

0 comments on commit cb6d5b5

Please sign in to comment.