mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #3612] [MERGED] fix: add missing is_domain helper function to x-ui.sh #5486
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5486
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/MHSanaei/3x-ui/pull/3612
Author: @Wyatt1026
Created: 12/28/2025
Status: ✅ Merged
Merged: 12/28/2025
Merged by: @MHSanaei
Base:
main← Head:main📝 Commits (1)
fb6807afix: add missing is_domain helper function to x-ui.sh📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
x-ui.sh(+14 -0)📄 Description
What is the pull request?
The is_domain function was being called in ssl_cert_issue() in x-ui.sh but was never defined, causing "[ERR] Invalid domain format" errors even when users enter valid domain names.
This bug was introduced in commit
75aed7f(PR #3611 - Self-signed SSL).Fix: Added the missing helper functions (is_ipv4, is_ipv6, is_ip, is_domain) to x-ui.sh, matching the definitions already present in install.sh and update.sh.
Which part of the application is affected by the change?
Type of Changes
Screenshots
Not applicable - this is a shell script fix with no UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.