rewrite: do not even compare content types, if we don't have any
authorHeikki Levanto <heikki@indexdata.dk>
Fri, 2 Aug 2013 12:21:54 +0000 (14:21 +0200)
committerHeikki Levanto <heikki@indexdata.dk>
Fri, 2 Aug 2013 12:21:54 +0000 (14:21 +0200)
commitc271eb1db3286cd6c309f2cde33dc90d7c3c4dfe
tree5877c3b51f84b1a2b1ac1849abcea29abb90e364
parent96a9d0598df0722dc31117fd4559bb4b23a2225e
rewrite: do not even compare content types, if we don't have any

the regex_match caused a segfault if we had no content-type in the
headers.
src/filter_http_rewrite.cpp