diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2005-05-10 15:29:16 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2005-05-10 15:29:16 +0000 |
| commit | 2e5523fd6cce6701acaa65cf9c8f24ce3b8092e7 (patch) | |
| tree | 8b623350abfcf6d1167883e9e3644a41539f8e94 | |
| parent | 1608fdee29a0d8fdaa024e9df30b11963b29b418 (diff) | |
| download | lasso-2e5523fd6cce6701acaa65cf9c8f24ce3b8092e7.tar.gz lasso-2e5523fd6cce6701acaa65cf9c8f24ce3b8092e7.tar.xz lasso-2e5523fd6cce6701acaa65cf9c8f24ce3b8092e7.zip | |
allows \n in base64 strings
| -rw-r--r-- | lasso/xml/xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c index 6ed28bb9..42df8198 100644 --- a/lasso/xml/xml.c +++ b/lasso/xml/xml.c @@ -794,8 +794,8 @@ is_base64(const char *message) const char *c; c = message; - while (*c != 0 && (isalnum(*c) || *c == '+' || *c == '/')) c++; - while (*c == '=') c++; /* trailing = */ + while (*c != 0 && (isalnum(*c) || *c == '+' || *c == '/' || *c == '\n')) c++; + while (*c == '=' || *c == '\n') c++; /* trailing = */ if (*c == 0) return TRUE; |
