DIDView: validate DID format #176

Open
jose wants to merge 1 commits from didview-invalid-did-handling into master
jose commented 1 day ago
Owner
  • Add DID validation using isDid() function to prevent invalid DIDs from loading current user's info
  • Show error message and redirect to HomeView for invalid DID formats (e.g., /did/0)
  • Import NOTIFY_CONTACT_INVALID_DID constant for consistent error messaging

Resolves: DIDView loading current user's info for invalid DID parameters

- Add DID validation using isDid() function to prevent invalid DIDs from loading current user's info - Show error message and redirect to HomeView for invalid DID formats (e.g., /did/0) - Import NOTIFY_CONTACT_INVALID_DID constant for consistent error messaging Resolves: DIDView loading current user's info for invalid DID parameters
jose added 1 commit 1 day ago
74c70c7fa0 fix(DIDView): validate DID format before processing URL parameters
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.