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
1 changed files with 1 additions and 1 deletions

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">