Closed (fixed)
Project:
IMCE
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2007 at 08:14 UTC
Updated:
29 Mar 2008 at 02:33 UTC
Working with IMCE translated to hebrew, the word 'KB' is translated to 'ק"ב' (notice the double quotes inside the string).
This breaks the code that inserts the image into the image selection window after selecting it in the image browser. see this comment and the two that follows.
The attached patch (against DRUPAL-5 branch) fixes this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| imce_string_escape.patch | 2.82 KB | yhager |
Comments
Comment #1
ufku commentedthanks for the patch.
Is it possible that filenames contain this quote char?
If so we need to change the method for calling imceFinitor.
In the attached patch it is called with only the row index of the file and properties of the file is resolved inside imceFinitor. Moreover eval is no more used.
please try it. if you find any errors you're wellcome to submit another.
I will commit this soon.
Comment #2
liorkesos commentedHi ufku,
Filenames could theoretically include the '"' but I think it's wise to address that scenario as well.
We could have a filename called תשובות מהע"וד and it could retrigger the bug.
This is important because we're manually changing the translation these days to overide the bug.
What needs to be done in order to commit the patch? Can we help in something?
Lior
Comment #3
ufku commentedi'm going to create a bugfix release soon. this patch is going to be included.
thanks.
Comment #4
ufku commentedcommited. thanks
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.