Mercurial > urweb
diff src/c/urweb.c @ 2024:6372a742ab04
Allow '+' char in blessMime
See this one [1] for an example
[1] - http://www.w3.org/TR/SVGTiny12/mimereg.html
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Thu, 05 Jun 2014 20:36:12 +0000 |
parents | bcda3ae88677 |
children | 6add6d00ef5f |
line wrap: on
line diff
--- a/src/c/urweb.c Wed Jun 11 13:56:00 2014 -0400 +++ b/src/c/urweb.c Thu Jun 05 20:36:12 2014 +0000 @@ -3604,7 +3604,7 @@ static int mime_format(const char *s) { for (; *s; ++s) - if (!isalnum((int)*s) && *s != '/' && *s != '-' && *s != '.') + if (!isalnum((int)*s) && *s != '/' && *s != '-' && *s != '.' && *s != '+') return 0; return 1;