Topic: This is correct?
This would be correct or needs another code more to prevent xss
if (Request::post('data')) $data = Security::xssClean(Request::post('data')); else $data = Option::get('data');
You are not logged in. Please login or register.
This would be correct or needs another code more to prevent xss
if (Request::post('data')) $data = Security::xssClean(Request::post('data')); else $data = Option::get('data');
no, just $data = Request::post('data');
because post and get data will cleanup automatically
Powered by PunBB, supported by Informer Technologies, Inc.