Merged support for nginx 0.8

pull/4/head
Adrián Pérez 16 years ago committed by Adrian Perez
commit 3d18805d3a

33
.todo

@ -1,29 +1,42 @@
<todo version="0.1.19">
<?xml version="1.0"?>
<todo version="0.1.20">
<note priority="medium" time="1187975642" done="1188304701">
readme:iframe
<comment>
done in r23
</comment>
</note>
<note priority="medium" time="1187975662" done="1189593070">
header:inline
</note>
<note priority="medium" time="1187975645">
<note priority="medium" time="1187975645" done="1244350191">
readme:div
<comment>
will not be done
</comment>
</note>
<note priority="medium" time="1187975648">
<note priority="medium" time="1187975648" done="1244350198">
readme:pre
<comment>
will not be done
</comment>
</note>
<note priority="medium" time="1187975662" done="1189593070">
header:inline
</note>
<note priority="medium" time="1187975708" done="1189593086">
footer:inline
</note>
<note priority="medium" time="1188484132" done="1244350207">
install handler *after* index handler
<comment>
done
</comment>
</note>
<note priority="medium" time="1188384488">
split big handler function into smaller pieces
</note>
<note priority="medium" time="1188484132">
install handler *after* index handler
</note>
<note priority="medium" time="1189426947">
<note priority="medium" time="1189426947" done="1244350211">
proper error message on subrequest errors
<comment>
done
</comment>
</note>
</todo>

@ -382,7 +382,8 @@ make_content_buf(
entry->dir = ngx_de_is_dir(&dir);
entry->mtime = ngx_de_mtime(&dir);
entry->size = ngx_de_size(&dir);
entry->utf_len = (r->utf8)
entry->utf_len = (r->headers_out.charset.len == 5 &&
ngx_strncasecmp(r->headers_out.charset.data, (u_char*) "utf-8", 5) == 0)
? ngx_utf8_length(entry->name.data, entry->name.len)
: len;
}

Loading…
Cancel
Save