Issue
-
The Headless API returns "HTTP Status 400 - Bad Request" when a
/
is included in a friendly URL
The error can be thrown using these steps:
- Login to Liferay as Admin
- Go to the headless API page: http://localhost:8080/o/api
- Locate getSiteSitePage API
- Fill the parameters of siteId, and friendlyUrlPath with "aaa/bbb"
- Press the Execute button
Output
Environment
- DXP 7.4 U58
Resolution
- At the time of writing (Mar 2023), the behavior is being addressed by Liferay on ticket LPS-175904. Please look out for this fix in a future product release
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar