Issue Details (XML | Word | Printable)

Key: MBS-2946
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: nikki
Reporter: Robert Vollmert
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

unable to enter URL that includes "http://"

Created: 04/Jul/11 09:04 AM   Updated: 02/Aug/11 09:33 AM   Resolved: 02/Aug/11 09:33 AM
Component/s: Edit system
Affects Version/s: None
Fix Version/s: Bug fixes, 2011-08-01


 Description  « Hide

The URL editing Javascript automatically strips the string "http://" from within URLs. This makes it difficult to enter certain URLs, such as those occurring on archive.org:

http://classic-web.archive.org/web/20110704084740/http://3.bp.blogspot.com/_nSuPj1LEQDA/Rdi0YWkHJSI/AAAAAAAAAGk/YZq2ncz6P1w/s1600-h/front+cover.jpg

I think the missing http:// is what makes http://musicbrainz.org/release/9a5be08f-bb76-4a8c-824b-7e1d225e0fbe not show the coverart.
For some reason, it doesn't always prevent the cover art from loading, e.g. http://musicbrainz.org/release/5ef08648-db92-4c12-b0a2-abac6081778c/relationships.

Note that it's possible to get around the limitation by disabling JS (e.g., with noscript on firefox). Assuming that embedded http:// is valid in URLs, I think it should be allowed.



Sort Order: Ascending order - Click to sort in descending order
nikki added a comment - 04/Jul/11 09:23 AM

Well, the URL you want to use doesn't work either...


Robert Vollmert added a comment - 04/Jul/11 09:27 AM

Thanks for testing this. Could it be because the image is too large?

Regardless, I do think we should be able to enter URLs with embedded http://.


Paul C. Bryan added a comment - 24/Jul/11 10:43 PM

I've experienced this too trying to paste-in archive.org links, which themselves contain http:// in the path (and don't support URL encoding of any of the characters). I worked around it by routing around the JS "correction" code.