This repository was archived by the owner on Nov 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
Roundcube Webmail MarkAsJunk2
2
2
=============================
3
3
4
+ Version 1.10.1 (2018-04-17, rc-1.1.11)
5
+ =================================================
6
+ * Fix check_request() bypass in places using get_uids() [CVE-2018-9846]
7
+
4
8
Version 1.10 (2017-01-02, rc-1.1)
5
9
=================================================
6
10
* Add JS event markasjunk2-update to allow other plugins to influence the spam/ham options show
Original file line number Diff line number Diff line change 5
5
"homepage" : " http://github.com/JohnDoh/Roundcube-Plugin-Mark-as-Junk-2/" ,
6
6
"license" : " GPL-3.0" ,
7
7
"type" : " roundcube-plugin" ,
8
- "version" : " 1.10" ,
8
+ "version" : " 1.10.1 " ,
9
9
"authors" : [
10
10
{
11
11
"name" : " Philip Weir" ,
Original file line number Diff line number Diff line change @@ -89,8 +89,9 @@ function mark_message()
89
89
90
90
$ is_spam = rcube::get_instance ()->action == 'plugin.markasjunk2.junk ' ? true : false ;
91
91
$ multi_folder = $ _POST ['_multifolder ' ] == 'true ' ? true : false ;
92
- $ messageset = rcmail:: get_uids ( );
92
+ $ uids = rcube_utils:: get_input_value ( ' _uid ' , rcube_utils:: INPUT_POST );
93
93
$ mbox_name = rcube_utils::get_input_value ('_mbox ' , rcube_utils::INPUT_POST );
94
+ $ messageset = !empty ($ uids ) ? rcmail::get_uids ($ uids , $ mbox_name ) : array ();
94
95
$ dest_mbox = $ is_spam ? $ this ->spam_mbox : $ this ->ham_mbox ;
95
96
$ result = $ is_spam ? $ this ->_spam ($ messageset , $ dest_mbox ) : $ this ->_ham ($ messageset , $ dest_mbox );
96
97
You can’t perform that action at this time.
0 commit comments