samba-bugs@samba.org
2007-Aug-31 11:12 UTC
DO NOT REPLY [Bug 4944] New: Iconv-patch does not convert command-line args
https://bugzilla.samba.org/show_bug.cgi?id=4944 Summary: Iconv-patch does not convert command-line args Product: rsync Version: 3.0.0 Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: andre.raabe@gmail.com QAContact: rsync-qa@samba.org Latest rsync archive tarball (http://rsync.samba.org/ftp/rsync/nightly/rsync-HEAD-20070821-0504GMT.tar.gz) does not convert command-line args if iconv support is enabled. See also bug #3764, #2790. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Aug-31 11:16 UTC
DO NOT REPLY [Bug 4944] Iconv-patch does not convert command-line args
https://bugzilla.samba.org/show_bug.cgi?id=4944 ------- Comment #1 from andre.raabe@gmail.com 2007-08-31 06:16 CST ------- Created an attachment (id=2909) --> (https://bugzilla.samba.org/attachment.cgi?id=2909&action=view) Proposed patch for converting command-line args This patch will only convert command-line args regarding source and/or destination, it does not fix includes nor exclude lists. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-03 07:14 UTC
DO NOT REPLY [Bug 4944] Iconv-patch does not convert command-line args
https://bugzilla.samba.org/show_bug.cgi?id=4944 ------- Comment #2 from wayned@samba.org 2007-09-03 02:13 CST ------- Your patch appears to only translate the client's charset into UTF-8 before sending the command via the remote shell. This doesn't work for a number of reasons. The biggest is that the remote side needs to translate the args into its local charset. It also needs to do this before the shell sees it so that wildcards matching can take place. The solution I have contemplated for this would be to have --iconv send a minimal amount of command-line args to get rsync running in server mode, and then have it perform an arg-sending step to get a replacement set of command-line args. This would work in a similar way as the files-from support (and could probably share much of the same code), but would need to take place prior to that handling, and the received args would need to be converted from UTF-8 into the local charset and then wild-card expanded into a new arg list (there is already code for this that is used in daemon mode). For the moment, rsync requires the user to be in control of specifying exactly what they want in a way that the remote system can deal with. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-22 22:03 UTC
DO NOT REPLY [Bug 4944] Iconv-patch does not convert command-line args
https://bugzilla.samba.org/show_bug.cgi?id=4944 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from wayned@samba.org 2007-09-22 17:03 CST ------- The version in CVS now has a command-line option that causes the filename args and (various options too) to be sent over the socket to the remote rsync instead of to the shell that runs rsync. Combining this option with --iconv=OPT will convert the names that are sent. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
Possibly Parallel Threads
- DO NOT REPLY [Bug 5162] New: using iconv with pre7 chops last special character in filenames
- DO NOT REPLY [Bug 5615] New: iconv conversion not applied to symlinks
- DO NOT REPLY [Bug 5012] New: iconv: client charset used by server process
- DO NOT REPLY [Bug 6107] New: --disable-iconv does nothing
- DO NOT REPLY [Bug 4981] New: iconv confusion