<commit_before>﻿// Author: <NAME> (Trade/ProgTrade)

using System;

namespace nUpdate.Core
{
    public class UriConnector
    {
        public static Uri ConnectUri(string start, string end)
        {
            if (!Uri.IsWellFormedUriString(start, UriKind.RelativeOrAbsolute))
                return null;

            var baseUri = new Uri(start);
            return new Uri(baseUri, end);
        }
    }
}<commit_msg>Fixed URI connection bug<commit_after>﻿// Author: <NAME> (Trade/ProgTrade)

using System;

namespace nUpdate.Core
{
    public class UriConnector
    {
        public static Uri ConnectUri(string start, string end)
        {
            if (!Uri.IsWellFormedUriString(start, UriKind.RelativeOrAbsolute))
                return null;

            if (!start.EndsWith("/"))
                start += "/";
            var baseUri = new Uri(start);
            return new Uri(baseUri, end);
        }
    }
}
{'fraction_non_alphanumeric': 0.10248112189859762, 'fraction_numerical': 0.0, 'mean_word_length': 2.012987012987013, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4526167', 'n_tokens_mistral': 277, 'n_tokens_neox': 263, 'n_words': 68}