From 84604e0c641f2ede1e9f1becb70968400f7b4fb5 Mon Sep 17 00:00:00 2001
From: Tsung-Han Yu <14802181+johan456789@users.noreply.github.com>
Date: Wed, 21 Jan 2026 03:00:39 +0800
Subject: fix validator url update (#8436)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Closes https://github.com/FreshRSS/FreshRSS/issues/8435
Changes proposed in this pull request:
- update validator links to use the same open-url handler with prefix + encoding
- ensure the validator link reflects the current #url field value before opening
- keep existing open-url behavior for other links unchanged
How to test the feature manually:
1. Open feed edit (or add feed) form.
2. Change the feed URL in the URL field.
3. Click “Check the validity of the feed” and verify it opens the validator with the updated URL.
---
app/views/feed/add.phtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'app/views/feed/add.phtml')
diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml
index a30ce19a1..1fd659688 100644
--- a/app/views/feed/add.phtml
+++ b/app/views/feed/add.phtml
@@ -50,7 +50,7 @@
= _i('link') ?>
- = _t('sub.feed.validator') ?>
+ = _t('sub.feed.validator') ?>