Menu

#154 Transmission fails for database containing '.' in full name

server_0.1.0_Beta
closed
nobody
7
2009-10-27
2009-10-24
No

For a database containing a . in its full name, the transmission fails.
This happens for upload as well as for download.
It is not clear whether the iPhone encodes the name wrong or the server cannot decode it.

Some lines from the log file:
INFO: client /127.0.0.1:60256 requests /databases/Xxxxx.?version=3&device=christa
INFO: client authentication successful
INFO: 404 Not Found by client /127.0.0.1:60256: null (requested URI: /databases/Xxxxx.?version=3&device=christa)

Discussion

  • Christa Runge

    Christa Runge - 2009-10-24

    Initial analysis:
    SynchServer Session.ExtractFullName returns null if it finds a '.' in the full name.
    This is intentional, in order to avoid security issues, because we derive the filename from the full name.
    Still it is unexpected, and needs to be discussed.
    Maybe we should modify the rule how we derive the filename instead, and check this filename for 'risky' characters.

     
  • Christa Runge

    Christa Runge - 2009-10-27

    resolved with svn 1590.

     
  • Christa Runge

    Christa Runge - 2009-10-27
    • status: open --> closed
     
  • Christa Runge

    Christa Runge - 2017-07-29

    Ticket moved from /p/karatasi/bugs/193/

    Can't be converted:

    • _milestone: server_0.1.0_Beta
     

Log in to post a comment.