Code Monkey home page Code Monkey logo

Comments (7)

Spongman avatar Spongman commented on September 28, 2024

no fix for this? RFC2616 clearly allows for the boundary parameter to be quoted here.

from nginx-upload-module.

vkholodkov avatar vkholodkov commented on September 28, 2024

Can you give an example with a concrete application when it fails?

from nginx-upload-module.

Spongman avatar Spongman commented on September 28, 2024

RFC2616 clearly states the quotes are valid. here are the relevant lines:

Content-Type = "Content-Type" ":" media-type
media-type = type "/" subtype *( ";" parameter )
parameter = attribute "=" value
value = token | quoted-string <-- the value can be quoted
quoted-string = ( <"> *(qdtext | quoted-pair ) <"> )
qdtext = <any TEXT except <">>

similarly for the quotes in FILENAME_STRING and FIELDNAME_STRING, except the quotes around those are optional.

any standards-compliant client code (concrete or otherwise) will break it.

i can give you concrete code if you really want, but it will be a bash script piping a POST through netcat. i can't give you my actual code (because lawyers).

from nginx-upload-module.

vkholodkov avatar vkholodkov commented on September 28, 2024

Well, I think you are the best person to fix this. Standard compliance is good, but usually it comes at a cost. May be I'll have time for that, but since you are one of the few who want it, you are the best person to help yourself so far.

from nginx-upload-module.

Spongman avatar Spongman commented on September 28, 2024

probably not. i'm familiar with the standards, but not with this codebase.

from nginx-upload-module.

Viacheslav01 avatar Viacheslav01 commented on September 28, 2024

Windows Phone HttpClient use a quoted boundary, so the windows phone could not be a client of the module. Fix it please.

from nginx-upload-module.

spragchris avatar spragchris commented on September 28, 2024

.NET HttpClient (not just Windows Phone) uses quoted boundary.

from nginx-upload-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.