Fix escaping rules. Closes bug #46
authorAlan T. DeKok <aland@freeradius.org>
Tue, 7 Sep 2010 20:20:55 +0000 (22:20 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 9 Sep 2010 11:12:05 +0000 (13:12 +0200)
src/lib/valuepair.c

index a85ecc4..15514ac 100644 (file)
@@ -933,6 +933,10 @@ VALUE_PAIR *pairparsevalue(VALUE_PAIR *vp, const char *value)
                                                c = '\'';
                                                cp++;
                                                break;
+                                       case '\\':
+                                               c = '\\';
+                                               cp++;
+                                               break;
                                        case '`':
                                                c = '`';
                                                cp++;