Is there necessary to clean form input in elgg?

I'm new to elgg and double if there is necessary to clean every text input by htmlentities() and mysql_real_escape_string().And,in get_input(),elgg read var from $_REQUEST rather than $_POST,is it safe?