<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:17:47 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-8437] URL parser does not detect 4 letter TLDs</title>
                <link>https://bugs.mojang.com/browse/MC-8437</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;The URL parsing in chat dislikes Top Level Domains with more than 3 characters (eg a .com works fine, but a .info does not), and does not permit clicking on the link in game to take the user to a web address.&lt;/p&gt;

&lt;p&gt;The problem is easily reproduced, after trying the domains in the chat box:&lt;/p&gt;

&lt;p&gt;jameo.com and other variations (eg prepending &lt;a href=&quot;http://&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://&lt;/a&gt;) functions correctly.&lt;/p&gt;

&lt;p&gt;jameo.info and other variations do not.&lt;/p&gt;</description>
                <environment>Windows, Java 7 x64</environment>
        <key id="21362">MC-8437</key>
            <summary>URL parser does not detect 4 letter TLDs</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="dinnerbone">[Mojang] Nathan Adams</assignee>
                                    <reporter username="jameo30">Jake Fisher</reporter>
                        <labels>
                            <label>chat</label>
                    </labels>
                <created>Sat, 26 Jan 2013 15:50:13 +0100</created>
                <updated>Sun, 23 Jun 2013 21:35:14 +0200</updated>
                            <resolved>Mon, 28 Jan 2013 09:46:36 +0100</resolved>
                                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w04a</version>
                                    <fixVersion>Snapshot 13w05a</fixVersion>
                                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="40341" author="kumasasa" created="Sun, 27 Jan 2013 16:17:45 +0100"  >&lt;p&gt;... there are as many regex as there are URLs : &lt;a href=&quot;http://regexlib.com/%28X%281%29A%28w_EUcf1Bu6N3WFkuVKjGepFvJE2idKTn6XdSnjWUuNtd1un_Eb4FoDkOVAR8SRiMGGBF5Tbw1UonIHucQzOcdTgoYTvkxhpmUooMy90R-WvvA2aGvfMrruwlVe85XxuakVN09q6CjmodpNV4bx0z13Hec3uqWgCLn6W8bpOnukXFFUETJvMR0rkxKy7Z6EVW0%29%29/Search.aspx?k=URL&amp;amp;c=-1&amp;amp;m=-1&amp;amp;ps=100&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://regexlib.com/%28X%281%29A%28w_EUcf1Bu6N3WFkuVKjGepFvJE2idKTn6XdSnjWUuNtd1un_Eb4FoDkOVAR8SRiMGGBF5Tbw1UonIHucQzOcdTgoYTvkxhpmUooMy90R-WvvA2aGvfMrruwlVe85XxuakVN09q6CjmodpNV4bx0z13Hec3uqWgCLn6W8bpOnukXFFUETJvMR0rkxKy7Z6EVW0%29%29/Search.aspx?k=URL&amp;amp;c=-1&amp;amp;m=-1&amp;amp;ps=100&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40338" author="miinipaa" created="Sun, 27 Jan 2013 16:11:48 +0100"  >&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains&lt;/a&gt;&lt;br/&gt;
Not every TLD will catched by this RegEx. You should avoid &quot;TLD can be only 2-4 characters long&quot; type of thinking.&lt;/p&gt;</comment>
                            <comment id="40127" author="kumasasa" created="Sun, 27 Jan 2013 00:10:12 +0100"  >&lt;p&gt;Confirmed.&lt;/p&gt;</comment>
                            <comment id="40032" author="bugi74" created="Sat, 26 Jan 2013 17:18:36 +0100"  >&lt;p&gt;Bug confirmed, found and busted. Erm, fixed.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Bug&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;&quot;ChatClickData&quot;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; Pattern pattern = Pattern.compile(&lt;span class=&quot;code-quote&quot;&gt;&quot;^(?:(https?):&lt;span class=&quot;code-comment&quot;&gt;//)?([-\\w_\\.]{2,}\\.[a-z]{2,3})(/\\S*)?$&quot;&lt;/span&gt;);&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Fix&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;&quot;ChatClickData&quot;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; Pattern pattern = Pattern.compile(&lt;span class=&quot;code-quote&quot;&gt;&quot;^(?:(https?):&lt;span class=&quot;code-comment&quot;&gt;//)?([-\\w_\\.]{2,}\\.[a-z]{2,4})(/\\S*)?$&quot;&lt;/span&gt;);&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Fix tested on 1.4.7&lt;/p&gt;

&lt;p&gt;(Edit: minor technical detail: It does allow clicking the text in any case, it just won&apos;t recognize it as an URL without that small change, and thus will not react any further.)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="30762">MC-15077</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="37402">MC-18898</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 27 Jan 2013 03:55:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i04wp3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>