[Cyberduck-trac] [Cyberduck] #7509: Unexpected file names being saved causes data loss

Cyberduck trac at trac.cyberduck.ch
Fri Oct 25 20:41:08 UTC 2013


#7509: Unexpected file names being saved causes data loss
---------------------------+-------------------------
 Reporter:  chris deeming  |         Owner:  dkocher
     Type:  defect         |        Status:  reopened
 Priority:  normal         |     Milestone:  4.4.1
Component:  webdav         |       Version:  4.4
 Severity:  normal         |    Resolution:
 Keywords:                 |  Architecture:  Intel
 Platform:  Mac OS X 10.9  |
---------------------------+-------------------------

Comment (by dkocher):

 Replying to [comment:7 chris deeming]:
 > And exactly what do you expect XenForo to do about it?
 >
 > You must consider that XenForo is a database driven application and
 therefore it has constraints on various things for many reasons.
 Specifically in this case, they don't allow anything other than a-z, A-Z,
 0-9 _ or . in their template names, so the hyphenated string you append on
 the end causes an error. Finally, they don't allow template names longer
 than 50 characters. The title field in the xf_template table is
 VARBINARY(50).
 >
 > It's unreasonable to expect them to change these as those constraints
 were included for a reason.
 >
 > And despite myself bypassing those constraints by skipping the title
 validation in their code and increasing the field to VARBINARY(500), I
 instead get a template name that's garbage and the original template name
 is no longer there.

 It is not feasible to impose such internal design limitations as the
 WebDAV protocol does not have a restriction of the URI length (RFC 2616).

-- 
Ticket URL: <https://trac.cyberduck.ch/ticket/7509#comment:12>
Cyberduck <http://cyberduck.ch>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list