#25 closed defect (bug) (fixed)
Missing http:// with website for user profile
| Reported by: | warner | Owned by: | JasonV |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
If a user has not added http:// in front of his website when editing his profile, clicking the website in the user administration gives a faulty link.
Change History (7)
#4
@
22 years ago
- Resolution 10 → 20
- Status assigned → closed
warner: I used your suggestion, but in profile.php instead of users.php, so the correct address is stored in the database, rather than fixed every time it is displayed... although I did still use your suggestion in users.php, but as part of the fix for bug #0000050, not this bug. Thanks for your help!
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Just a slight mistake, missing a in the regexp, it should be: preg_match('/(https?|ftps?|mailto|news|gopher):/is', $user_data->user_url)