after investigation, it seems that something goes wrong in: - ngx_http_map_uri_to_path function of src/http/ngx_http_core_module.c file This line: last = ngx_cpystrn(last, r->uri.data + alias, r->uri.len - alias + 1); is adding the extra unwanted chars to last. I cannot figure out why it did not enter the following code that would have skipped this extra string manipulation:by dweeves - Other discussion
First , i will apologize for the setup i use : cygwin recompilation of nginx 1.2.5 source (not very officially supported) , but i noticed this : (using --with-debug compilation) I think i found a bug in the filename construction from regexp (when using a matching if before) Problematic configuration entry: location ~ ^/test1/hls/(.*?/*)\.m3u(.) { alias //gagarine/poubeby dweeves - Other discussion