Skip to content

fix(router): use safe index access for deep link path segments#666

Merged
bmc08gt merged 1 commit intocode/cashfrom
fix/router-forced-index-lookup
May 4, 2026
Merged

fix(router): use safe index access for deep link path segments#666
bmc08gt merged 1 commit intocode/cashfrom
fix/router-forced-index-lookup

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 4, 2026

Replaces direct pathSegments[] lookups with getOrNull() to prevent IndexOutOfBoundsException when deep links have missing path segments.

Replaces direct pathSegments[] lookups with getOrNull() to prevent
IndexOutOfBoundsException when deep links have missing path segments.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 4, 2026
@bmc08gt bmc08gt added type: fix Bug fix area: deeplinks Deep link handling, URL routing, and link parsing labels May 4, 2026
@bmc08gt bmc08gt merged commit 91f4231 into code/cash May 4, 2026
1 check passed
@bmc08gt bmc08gt deleted the fix/router-forced-index-lookup branch May 4, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: deeplinks Deep link handling, URL routing, and link parsing type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant