1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:55:56 +00:00

subscribe: allow pre-filling feed URL if passed via query string

This commit is contained in:
Andrew Dolgov
2020-09-16 17:20:31 +03:00
parent da5af2fae0
commit 9d3c794983

View File

@@ -784,7 +784,7 @@ class Handler_Public extends Handler {
<?php print_hidden("csrf_token", $_SESSION["csrf_token"]) ?>
<fieldset>
<label>Feed or site URL:</label>
<input style="width: 300px" dojoType="dijit.form.ValidationTextBox" required="1" name="feed_url">
<input style="width: 300px" dojoType="dijit.form.ValidationTextBox" required="1" name="feed_url" value="<?php echo htmlspecialchars($feed_url) ?>">
</fieldset>
<button class="alt-primary" dojoType="dijit.form.Button" type="submit">