[PR #3782] [MERGED] Fix ipv6 hostname parsing for subscriptions #5528

Closed
opened 2026-10-31 20:47:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3782
Author: @bakatrouble
Created: 2/10/2026
Status: ✅ Merged
Merged: 2/11/2026
Merged by: @MHSanaei

Base: main ← Head: fix-ipv6-subs


📝 Commits (1)

  • d22c556 Fix ipv6 hostname parsing for subscriptions

📊 Changes

1 file changed (+24 additions, -1 deletions)

View changed files

📝 web/service/setting.go (+24 -1)

📄 Description

What is the pull request?

Naive hostname-port splitting results in broken subscription links like "https://[2a14:2096/sub/aaasssdddfff"

This PR implements correct host string parsing

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3782 **Author:** [@bakatrouble](https://github.com/bakatrouble) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/11/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix-ipv6-subs` --- ### 📝 Commits (1) - [`d22c556`](https://github.com/MHSanaei/3x-ui/commit/d22c556ba91361aa893573328f1df6e21b4520bb) Fix ipv6 hostname parsing for subscriptions ### 📊 Changes **1 file changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `web/service/setting.go` (+24 -1) </details> ### 📄 Description ## What is the pull request? Naive hostname-port splitting results in broken subscription links like "https://[2a14:2096/sub/aaasssdddfff" This PR implements correct host string parsing ## Which part of the application is affected by the change? - [ ] Frontend - [x] Backend ## Type of Changes - [x] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5528
No description provided.