Changeset 7e50b43 in github
- Timestamp:
- Oct 21, 2011 1:29:21 PM (19 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- b9787b3
- Parents:
- 544619a
- File:
-
- 1 edited
-
program/include/rcube_imap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
ra561cd3 r7e50b43 2321 2321 // decode filename 2322 2322 if (!empty($filename_mime)) { 2323 $part->filename = rcube_imap::decode_mime_string($filename_mime, 2324 $part->charset ? $part->charset : ($this->struct_charset ? $this->struct_charset : 2325 rc_detect_encoding($filename_mime, $this->default_charset))); 2323 if (!empty($part->charset)) 2324 $charset = $part->charset; 2325 else if (!empty($this->struct_charset)) 2326 $charset = $this->struct_charset; 2327 else 2328 $charset = rc_detect_encoding($filename_mime, $this->default_charset); 2329 2330 $part->filename = rcube_imap::decode_mime_string($filename_mime, $charset); 2326 2331 } 2327 2332 else if (!empty($filename_encoded)) { … … 2331 2336 $filename_encoded = $fmatches[2]; 2332 2337 } 2338 2333 2339 $part->filename = rcube_charset_convert(urldecode($filename_encoded), $filename_charset); 2334 2340 }
Note: See TracChangeset
for help on using the changeset viewer.
