Forums de discussion

Friendly URL Liferay 6.2 hide p_auth

thumbnail
mohammad azaruddin, modifié il y a 9 années.

Friendly URL Liferay 6.2 hide p_auth

Expert Publications: 492 Date d'inscription: 17/09/12 Publications récentes
HI
How to hide p_auth via liferay friendly URL



<!--?xml version="1.0"?-->


<routes>
	<route>
		<pattern>/friendlyURL</pattern>
		<ignored-parameter name="p_auth" />
		<ignored-parameter name="p_p_id" />
		<ignored-parameter name="p_p_col_id" />
		<ignored-parameter name="p_p_col_count" />
		<implicit-parameter name="p_p_lifecycle">1</implicit-parameter>
		<implicit-parameter name="p_p_state">normal</implicit-parameter>
		<implicit-parameter name="p_p_mode">view</implicit-parameter>
	</route>
</routes>



Generates URL --> http://localhost:8080/cart/-/myurl/friendlyURL?p_auth=NPKOEWl5
thumbnail
Rahul Pande, modifié il y a 9 années.

RE: Friendly URL Liferay 6.2 hide p_auth

Expert Publications: 310 Date d'inscription: 07/07/10 Publications récentes
Hi,

Please refer cross site request forgery.


HTH
Rahul Pande
thumbnail
mohammad azaruddin, modifié il y a 9 années.

RE: Friendly URL Liferay 6.2 hide p_auth

Expert Publications: 492 Date d'inscription: 17/09/12 Publications récentes
Hey Rahul

I do not want to remove that security check. I just want to hide that parameter as i hide few other parameters
thumbnail
Atzeel Shaikh, modifié il y a 8 années.

RE: Friendly URL Liferay 6.2 hide p_auth

New Member Publications: 18 Date d'inscription: 28/03/15 Publications récentes
Have You Got any solution for it ?
Thanks
thumbnail
Anil T, modifié il y a 7 années.

RE: Friendly URL Liferay 6.2 hide p_auth

Expert Publications: 313 Date d'inscription: 14/01/12 Publications récentes
Any updated information for hiding p_auth from URLs?