You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When child of UI\Presenter expects numeric value in action/render, it may result into InvalidLinkException instead of BadRequestException. It is caused by values like 4'[0] during signals. Without signal or without number-like string, BadRequestException is correctly thrown.
Version: 3.1.5
Bug Description
When child of
UI\Presenter
expects numeric value in action/render, it may result intoInvalidLinkException
instead ofBadRequestException
. It is caused by values like4'[0]
during signals. Without signal or without number-like string,BadRequestException
is correctly thrown.Steps To Reproduce
Define action/render method
Go to a presenter url which includes valid signal and parameter with value
4'[0]
https://example.com/kategorie/hrani?productId=4721&page=4%27[0]&do=addToWishlist
- ❌throws InvalidLinkExceptionhttps://example.com/kategorie/hrani?productId=4721&page=4%27[0]&qq=addToWishlist
- ✔️throws BadRequestExceptionhttps://example.com/kategorie/hrani?productId=4721&page=stringg&do=addToWishlist
- ✔️throws BadRequestExceptionExpected Behavior
Throw
BadRequestException
The text was updated successfully, but these errors were encountered: