#994 closed enhancement (fixed)
Edit Profile: It should be possible to add Website-URLs without "http://"
Reported by: | markus | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | programming | Keywords: | |
Cc: | berkerpeksag, Christopher Allan Webber | Parent Tickets: |
Attachments (3)
Change History (11)
comment:1 by , 10 years ago
Summary: | Edit Profile: Adding Website-URL without "http://" not possible → Edit Profile: It should be possible to add Website-URLs without "http://" |
---|
comment:2 by , 9 years ago
by , 9 years ago
Attachment: | issue_994.patch added |
---|
comment:3 by , 9 years ago
Cc: | added |
---|---|
Status: | new → review |
Seems reasonable to me. If we're going to offer an explicit 'Website' box on the Edit Profile page, we might as well assume that a http(s) URI is going to be entered. CC'ing berker for review, and also cwebber in case he has any thoughts.
comment:4 by , 9 years ago
comment:5 by , 9 years ago
Thanks Berker, I wasn't aware of that feature in startswith
. I've also added a description with "www.example.com" to suggest that http:// part isn't required. What do you think?
by , 9 years ago
Attachment: | issue_994v2.patch added |
---|
comment:6 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | review → closed |
comment:7 by , 9 years ago
Hi Berker,
Thanks very much for merging this and also improving process_formdata
to handle null/empty valuelist
.
Unfortunately I think the other small tweak you made to the body broke the function for the case when there is already an http
or https
prefix, as shown in failing test test_edit.test_change_bio_url
.
Patch attached.
Cheers,
Ben
by , 9 years ago
Attachment: | issue_994_test_fix.patch added |
---|
I've attached a patch to allow people to not enter the
http://
orhttps://
part of the website URL. If it's not provided, a prefix ofhttp://
will be used.Regards,
Ben