Browse Source

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

Andrew Dolgov 5 days ago
parent
commit
9d3c794983
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/handler/public.php

+ 1 - 1
classes/handler/public.php

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