public
Description: A cross-platform web server that's scripted with Nu.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nunja.git
Allow numbers in url query dictionaries.
timburks (author)
Fri Aug 01 20:04:12 -0700 2008
commit  2081d118f7792b1c867be4916281f474bc44f127
tree    430eef287541c1571d6a19c672ee5044cb1fa0f9
parent  4e54b3a6e20cb2af03c4cc82d670d24e0eee7ca8
...
124
125
126
127
 
128
129
130
...
124
125
126
 
127
128
129
130
0
@@ -124,7 +124,7 @@ static char int_to_char[] = "0123456789ABCDEF";
0
     id key;
0
     while (key = [keyEnumerator nextObject]) {
0
         if ([result length] > 0) [result appendString:@"&"];
0
- [result appendString:[NSString stringWithFormat:@"%@=%@", [key urlEncode], [[self objectForKey:key] urlEncode]]];
0
+ [result appendString:[NSString stringWithFormat:@"%@=%@", [key urlEncode], [[[self objectForKey:key] stringValue] urlEncode]]];
0
     }
0
     return [NSString stringWithString:result];
0
 }

Comments

    No one has commented yet.