[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: hydra/goggles: Use absolute URL for form actions.
From: |
Ricardo Wurmus |
Subject: |
branch master updated: hydra/goggles: Use absolute URL for form actions. |
Date: |
Tue, 09 Mar 2021 08:43:03 -0500 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository maintenance.
The following commit(s) were added to refs/heads/master by this push:
new 1f496c8 hydra/goggles: Use absolute URL for form actions.
1f496c8 is described below
commit 1f496c8366bb82d035228b344b72073299a7ba33
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Mar 9 14:42:11 2021 +0100
hydra/goggles: Use absolute URL for form actions.
* hydra/goggles.scm (index, search-results): Use absolute URL for form
actions.
---
hydra/goggles.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hydra/goggles.scm b/hydra/goggles.scm
index 58748f6..fa9877d 100755
--- a/hydra/goggles.scm
+++ b/hydra/goggles.scm
@@ -408,7 +408,7 @@ representation highlighting certain parts."
(p ,(format #f "These are the channel logs for the #~a IRC channel on
freenode." channel))
(form
- (@ (action ,(string-append channel "/search")))
+ (@ (action ,(string-append "/" channel "/search")))
(input (@ (name "query")
(placeholder "nick:rekado frobnicate")))
(button (@ (type "submit")) ,looking-glass))
@@ -437,7 +437,7 @@ freenode." channel))
(body
(h1 ,(string-append "Search " channel " IRC channel logs"))
(form
- (@ (action "search"))
+ (@ (action ,(string-append "/" channel "/search")))
(input (@ (name "query")
(placeholder "nick:rekado frobnicate")))
(button (@ (type "submit")) ,looking-glass))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: hydra/goggles: Use absolute URL for form actions.,
Ricardo Wurmus <=