Welcome! Log In Create A New Profile

Advanced

Re: upload filename with double quote failure

Maxim Dounin
April 25, 2013 06:44AM
Hello!

On Thu, Apr 25, 2013 at 03:06:36AM -0400, motto wrote:

> Sorry to be annoying, here is part of nginx config:
>
> # Upload form should be submitted to this location
> location /upload_test {
> upload_pass @test;
> upload_store /usr/local/apps/Opus/temp/upload 1;
> upload_store_access user:r;
> upload_set_form_field $upload_field_name.name "$upload_file_name";
> upload_set_form_field $upload_field_name.content_type
> "$upload_content_type";
> upload_set_form_field $upload_field_name.path "$upload_tmp_path";
> upload_aggregate_form_field "$upload_field_name.md5"
> "$upload_file_md5";
> upload_aggregate_form_field "$upload_field_name.size"
> "$upload_file_size";
> upload_pass_form_field "^(.*)";
> #upload_cleanup 400 404 499 500-505;
> upload_cleanup 404;
> }
>
> # Pass altered request body to a backend
> location @test {
> proxy_pass http://localhost:8080;
> }
>
> in case with firefox upload as you could see above, only "upfile" parameter
> is available, while upfile.path, upfile.name and others are missing.
> That could not be related to backend as I used the same backend while
> uploading with the same form under Chrome and Firefox in above example.
> Thank you.

Ah, ok, I understand now. You are using upload module by Valery
Kholodkov (http://grid.net.ru/nginx/upload.en.html). It indeed
changes the request body and might introduce the problem.

You may want to make sure you are able to reproduce the problem
with latest version of the upload module and report the problem to
the module author.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

upload filename with double quote failure

motto April 24, 2013 11:08AM

Re: upload filename with double quote failure

Maxim Dounin April 24, 2013 11:46AM

Re: upload filename with double quote failure

motto April 24, 2013 11:57AM

Re: upload filename with double quote failure

Maxim Dounin April 24, 2013 01:38PM

Re: upload filename with double quote failure

motto April 25, 2013 03:06AM

Re: upload filename with double quote failure

Maxim Dounin April 25, 2013 06:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready