Jeya Selvi R wrote:
> Hello,
> 
> I'm using agavi as a component in Joomla1.5 for my project.
> 
> I am passing Ajax request to Agavi from Joomla. But when i try to 
> retrive the value for $_SERVER['HTTP_ACCEPT'],I am unable to get the 
> value in Agavi.
> 
> I'm getting the $_SERVER['HTTP_ACCEPT']  value as "text/javascript" 
> before control is going to Agavi. Once the control is in agavi, this 
> value is emptied.
> 
> How can I get the value for $_SERVER['HTTP_ACCEPT'] in Agavi?
> 

Hi Jeya,

All insecure headers (provided by the user/client) are only accessible
through $rd->getHeader(). This is to protect you from using insecure
data without validation.


-veikko



_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to