spaces should not be sanitized
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 27 Oct 2006 18:36:46 +0000 (18:36 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 27 Oct 2006 18:36:46 +0000 (18:36 -0000)
src/libstrongswan/utils/identification.c

index 55eef6c..917f20b 100644 (file)
@@ -228,6 +228,7 @@ static chunk_t sanitize_chunk(chunk_t chunk)
                        case 'a' ... 'z':
                        case 'A' ... 'Z':
                        case '0' ... '9':
+                       case ' ':
                        case '-':
                        case '_':
                        case '.':