area17 / twill

Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
https://twillcms.com
Apache License 2.0
3.76k stars 573 forks source link

Square brackets should be encoded on aws lambda #2184

Closed sercanvirlan closed 8 months ago

sercanvirlan commented 1 year ago

Description

Square brackets on URL's (especially filtering) should be url encoded on url's when using AWS Lambda (Laravel Vapor)

See https://docs.vapor.build/1.0/projects/troubleshooting.html#sandbox-url-returns-400-message-null

Steps to reproduce

Use a filter on any module

Screenshot 2023-03-15 at 18 12 27

Expected result

Should work properly

Actual result

Causing a 400 error.

Screenshot 2023-03-15 at 18 13 46

Versions

Twill version: 3.0.0-rc4 Laravel Framework 9.51.0 PHP 8.1.16 MySql

sercanvirlan commented 1 year ago

after creating a load balancer this is fixed automatically.