kirby icon indicating copy to clipboard operation
kirby copied to clipboard

Kirby accepts empty paths like // which throw an error

Open tobimori opened this issue 1 year ago • 2 comments

Description

The error only occurs when debug is enabled of course, but I expect Kirby to redirect to the correct page in this case.

Url path: http://127.0.0.1:3000//some-subpage CleanShot 2024-02-13 at 18 54 09@2x

Url path: http://127.0.0.1:3000///some-subpage CleanShot 2024-02-13 at 18 52 43@2x

Url shown: http://127.0.0.1:3000/ (home)

4.1

tobimori avatar Feb 13 '24 17:02 tobimori

Probably related to #4801

sebastiangreger avatar Feb 19 '24 05:02 sebastiangreger

yep, i'll leave it up to the team to close this as duplicate if they decide so

tobimori avatar Feb 19 '24 11:02 tobimori

Having reproduced it myself, I think it really is the same as https://github.com/getkirby/kirby/issues/4801

distantnative avatar Jul 30 '24 15:07 distantnative