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');
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: This is correct?

no, just $data = Request::post('data');
because post and get data will cleanup automatically

Monstra Loves You! Give some love back!

Re: This is correct?

ah ok thanks

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website