Menu

#9 File names with special characters are changed when uploaded.

new
None
bug
minor
client
Unassigned
2014-06-25
2014-06-25
Kevin Black
No

File names with special characters are changed when uploaded. This happens for the following characters:

  • double quote -> %22

Probably has something to do with how multipart form data is supposed to be encoded. Does not happen for space characters, which is probably the one most often to be used.

Trac #422.

Discussion

  • Kevin Black

    Kevin Black - 2014-06-25
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,3 +2,5 @@
    
     - double quote -> %22
    
     Probably has something to do with how multipart form data is supposed to be encoded. Does not happen for space characters, which is probably the one most often to be used.
    +
    +Trac #422.
    
     
  • Kevin Black

    Kevin Black - 2014-06-25

    When the double quote is fixed then json building should be double checked to make sure the double quote is handled properly.

    Use URLEncoder/Decoder to handle the serialization/deserialization from the url encoding of the form.

     

Log in to post a comment.

MongoDB Logo MongoDB