* When enumerating rooms in the drop-down list
authorArt Cancro <ajc@citadel.org>
Wed, 27 Dec 2006 15:40:55 +0000 (15:40 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 27 Dec 2006 15:40:55 +0000 (15:40 +0000)
  for FILEINTO, use escputs() instead of urlescputs().  Room names with spaces in
them were making it over to Citadel with '%20' in them.  Fixed.

webcit/sieve.c

index 23eda6b04229f311e6137ee995ca8a4ff888fb62..d0f2752797906bc4f53473abd1c27ea0d137f42b 100644 (file)
@@ -1052,7 +1052,7 @@ void display_rules_editor_inner_div(void) {
                                wprintf("selected ");
                        }
                        wprintf("value=\"");
-                       urlescputs(rooms[j].name);
+                       escputs(rooms[j].name);
                        wprintf("\">");
                        escputs(rooms[j].name);
                        wprintf("</option>\n");