[MC-1094] URLs that go across multiple lines in chat aren't joined when clicking Created: 28/Oct/12  Updated: 22/Jan/14  Resolved: 22/Jan/14

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18b, Snapshot 13w18c, Minecraft 1.6.1, Minecraft 1.6.2
Fix Version/s: Minecraft 1.7.4

Type: Bug
Reporter: Thomas Assignee: Unassigned
Resolution: Fixed Votes: 11
Labels: None

Issue Links:
Duplicate
is duplicated by MC-16099 Links Resolved
is duplicated by MC-28109 Chat link not working when taking mor... Resolved
is duplicated by MC-3001 Links in chat that are longer than 1 ... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

When a URL goes over two or more lines in chat, only the first line will be clickable and clicking on it will open a link composed of only the first line in a web browser.

Expected:
Multi-line URLs will be copied entirely when clicked on.

Actual:
Multi-line URLs are broken up when clicked on.

Reproduce:
1. Set GUI scale to the largest it will go for ease of reproduction.
2. Find a long URL. (Searching with a long phrase in Google and copying that is a good way to make one)
3. Paste the URL into chat
4. Click on it
5. Observe that only the first line is clickable and used.



 Comments   
Comment by [Mod] Ezekiel (ezfe) [ 22/Jan/14 ]

This has been fixed, however links are still not clickable: MC-30864

Comment by Jono [ 09/Jul/13 ]

Confirmed in 1.6.2
This can be replicated with a short link as well when the 'width' setting in the options is very low.

Comment by Kumasasa [ 27/Jan/13 ]

Confirmed.

Comment by BWJC [ 25/Nov/12 ]

I can confirm this issue. The second line of a link is never recognized, the line break ends the link.

Generated at Sun Jan 12 11:53:17 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.