Dear all,

I am writing to report a possible bug I found in OFBiz 24 related to URL
generation. Specifically, URLs containing spaces and other invalid
characters are resulting in URISyntaxException errors, making it difficult
to access certain information in the application.

To illustrate the issue, I observed the following behavior when accessing
Webtools/Entity Engine:

This link works correctly:
https://demo-next.ofbiz.apache.org/webtools/control/ViewGeneric?userLoginId=teste+01&entityName=UserLogin

However, this link throws an error:
https://demo-next.ofbiz.apache.org/webtools/control/entity/find/UserLogin/teste%2001

Apparently, there is a bug in the link generation when viewing the entity,
where spaces are not being handled properly.

Specifically, the problem occurs when trying to view an entity with a
userLoginId containing a space. The system generates an incorrect link by
replacing the space with "%20", which leads to a URISyntaxException error.
The full error screen is included in the attached PDF ("Screenshot from
2025-04-14 09-21-08.pdf").

I would like to know if other developers have encountered this issue and if
there is any solution or fix in progress.

Thank you all for your attention and collaboration.

Sincerely,
-- 


<https://www.instagram.com/rodipaoficial/?hl=en>
<https://www.facebook.com/rodipaoficial/>

rodipa.com.br

*Jonas Ribeiro Rosa*

T.I

Administrativo

jonas.ribe...@rodipa.com.br

  (11) 94233-7495 <https://api.whatsapp.com/send?phone=5511933596333> / (11)
3782-0947 / (11) 3090-3642

ALERTA DE CONFIDENCIALIDADE: Esta mensagem, bem como eventuais arquivos
anexos, é confidencial e legalmente protegida, somente podendo ser usada
pelo indivíduo ou entidade a quem foi endereçada originalmente. Caso você a
tenha recebido por engano e/ou por terceiros, deverá encaminhá-la ao
remetente original e, posteriormente, apagá-la, pois, a disseminação,
encaminhamento, uso, impressão ou cópia do conteúdo desta mensagem são
expressamente proibidos. Se você não concordar com estes termos, deve
responder informando a não concordância e apagar esta mensagem
imediatamente.

Reply via email to