Ticket #1484313: bugfix1484313.patch
| File bugfix1484313.patch, 1.5 kB (added by Emil Wojak, 20 months ago) |
|---|
-
program/js/app.js
668 668 break; 669 669 670 670 case 'load-attachment': 671 var qstring = '_mbox='+ this.env.mailbox+'&_uid='+this.env.uid+'&_part='+props.part;671 var qstring = '_mbox='+urlencode(this.env.mailbox)+'&_uid='+this.env.uid+'&_part='+props.part; 672 672 673 673 // open attachment in frame if it's of a supported mimetype 674 674 if (this.env.uid && props.mimetype && find_in_array(props.mimetype, this.mimetypes)>=0) … … 1948 1948 { 1949 1949 this.message_list.clear(); 1950 1950 this.set_busy(true, 'searching'); 1951 this.http_request('search', '_search='+value+'&_mbox='+ mbox, true);1951 this.http_request('search', '_search='+value+'&_mbox='+urlencode(mbox), true); 1952 1952 } 1953 1953 return true; 1954 1954 }; -
program/steps/mail/func.inc
59 59 60 60 // define url for getting message parts 61 61 if (strlen($_GET['_uid'])) 62 $GET_URL = sprintf('%s&_action=get&_mbox=%s&_uid=%d', $COMM_PATH, $IMAP->get_mailbox_name(), get_input_value('_uid', RCUBE_INPUT_GET));62 $GET_URL = sprintf('%s&_action=get&_mbox=%s&_uid=%d', $COMM_PATH, urlencode($IMAP->get_mailbox_name()), get_input_value('_uid', RCUBE_INPUT_GET)); 63 63 64 64 65 65 // set current mailbox in client environment
