Bug 2115 - Drag n' Drop of files with special characters crashes CM
Summary: Drag n' Drop of files with special characters crashes CM
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.7.5
Hardware: PC Windows XP
: P3 normal
Assignee: users
URL:
: 2202 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-09 08:09 UTC by Abhay S. Kushwaha
Modified: 2015-07-28 09:07 UTC (History)
0 users

See Also:


Attachments

Description Abhay S. Kushwaha 2010-02-09 08:09:23 UTC
Steps to reproduce:
1. Create a file with % in filename. Eg: 60% there.txt
2. Open a compose window.
3. Drag & drop file with % mark to compose window.
4. If you have set the alert box to ask you this, select 'Attach' from the insert/attach dialog. Otherwise, this applies when 'attach' is the default option for dropped files.

Observed behaviour:
Claws-Mail crashes.

Expected behaviour:
Claws-Mail should attach the file.

Other notes:
 1. --debug produces no info. Last info is about creating the alert box. But it's not related to the alert box since turning it off doesn't change the behaviour if the default option for dropped files is 'attach'.
 2. Attaching the same file through Attach File dialog does not crash.
 3. Drag-n-drop of same file in Ubuntu 9.10 does not crash.
Comment 1 Abhay S. Kushwaha 2011-02-07 08:05:37 UTC
*** Bug 2202 has been marked as a duplicate of this bug. ***
Comment 2 Ricardo Mones 2014-07-28 09:51:36 UTC
This needs some backtrace of the crash, can you get one?

https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg
Comment 3 users 2015-07-28 01:12:02 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2015-07-28 01:12:02.133122811 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=e32b38078eee11a05b1d5df5a4053bc176df90e4
Merge: f44f83b 7171f9e
Author: Colin Leroy <colin@colino.net>
Date:   Tue Jul 28 01:12:01 2015 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=7171f9ebc5cf23226b216ac84d6618cf7cd3d06b
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Mon Jul 27 13:12:59 2015 +0200

    Correct handling of RFC3339 format with second fraction.
    
    Patch by Darko Koruga.

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=b05f232613b64f6aea064d0545223082f60de7fb
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sat Jul 25 15:05:18 2015 +0200

    Fix drag&drop attaching files with % in filename.
    
    Closes bug #2115.

Note You need to log in before you can comment on or make changes to this bug.