Actions
Bug #30
closedWebsite URL field accepts relative paths, causing internal navigation instead of external redirection
Status:
Closed
Priority:
Normal
Assignee:
-
Description
Description
The Website URL field does not enforce proper URL validation, allowing users to enter relative paths (e.g., dashboard) instead of valid absolute URLs (https://...). When such values are saved and accessed via the “Website” link, the application treats them as internal routes and redirects users within the same domain.
This results in unintended navigation behavior and indicates missing validation for URL format.
Steps to Reproduce
- Go to Masters → Organizations → Organization Management → Add Organization
- In Website URL, enter:
dashboard - Save the organization
- Click on the Website link visible with the organization name.
Actual Result
User is redirected to:https://dev.akinderwellness.com/pages/dashboard
Expected Result
System should:
Accept only valid URLs (http:// or https://)
Reject invalid inputs like dashboard
Updated by Adhi Narayanan about 1 month ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Actions