mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-07-19 13:54:44 -04:00
[PR #970] [MERGED] Properly escape ird download links without corrupting relative paths #977
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RPCS3/discord-bot/pull/970
Author: @13xforever
Created: 2/7/2025
Status: ✅ Merged
Merged: 2/7/2025
Merged by: @clienthax
Base:
master← Head:vnext📝 Commits (1)
ff880f6properly escape ird download links without corrupting relative paths📊 Changes
3 files changed (+34 additions, -5 deletions)
View changed files
📝
Clients/IrdLibraryClient/IrdClient.cs(+9 -4)📝
CompatBot/Utils/ResultFormatters/IrdSearchResultFormatter.cs(+1 -1)➕
Tests/UriFormattingTests.cs(+24 -0)📄 Description
Initial implementation was breaking discord link formatting, and the attempted fix broke links with relative paths.
This version should fix both cases, and comes with some tests for known issues.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.