-Subproject commit 38cbb20a4ca795e838faeef0fda7374b304068b3
+Subproject commit bc02ceca4595728711127a2317d35e8cfc934918
$res = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<membres>\n\n";
- if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) {
+ if (S::v('chall') && Get::s('PASS') == md5(S::v('chall').$cle)) {
$list = new MMList(User::getWithUID(10154), "x-econfiance.polytechnique.org");
$members = $list->get_members('membres');
if (is_array($members)) {
unset($_POST['save']);
if (trim(preg_replace('/-- .*/', '', Post::v('contenu'))) != "") {
- $_POST['to_contacts'] = explode(';', @$_POST['to_contacts']);
- $_POST['cc_contacts'] = explode(';', @$_POST['cc_contacts']);
+ Post::set('to_contacts', explode(';', Post::s('to_contacts')));
+ Post::set('cc_contacts', explode(';', Post::s('cc_contacts')));
$data = serialize($_POST);
XDB::execute('INSERT INTO email_send_save (uid, data)
VALUES ({?}, {?})
if ($user) {
pl_redirect($base . $user->login());
}
- $_REQUEST['quick'] = $login;
- $_GET['quick'] = $login;
+ Get::set('quick', $login);
} elseif (strpos($quick, 'doc:') === 0) {
$url = 'Docs/Recherche?';
$url .= 'action=search&q=' . urlencode(substr($quick, 4));