summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-21 17:39:19 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-21 17:39:19 +0200
commitc51d60fcbd478ae77260357eb3c57efd4e61e7cf (patch)
treed5fe2bed7560b6e19d244b7eb697881f93d596bd /bin
parent51da1828d559072c87ba589118060da082ed7d0d (diff)
downloadjenkins.debian.net-c51d60fcbd478ae77260357eb3c57efd4e61e7cf.tar.xz
reproducible: correctly use mod_rewrite to stop using javascript for the form
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 75f608fd..6a34133d 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -240,7 +240,7 @@ write_page_header() {
write_page "</ul>"
if [ "$1" = "$MAINVIEW" ] ; then
LATEST=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT s.name FROM results AS r JOIN sources AS s ON r.package_id = s.id WHERE r.status IN ('unreproducible') AND s.suite = 'unstable' AND s.architecture = 'amd64' AND s.id NOT IN (SELECT package_id FROM notes) ORDER BY build_date DESC LIMIT 23"|sort -R|head -1)
- write_page "https://reproducible.debian.net/<form action=\"https://reproducible.debian.net\" method=\"GET\">"
+ write_page "<form action=\"https://reproducible.debian.net/redirect\" method=\"GET\">https://reproducible.debian.net/"
write_page "<input type=\"text\" name=\"SrcPkg\" placeholder=\"Type my friend..\" value=\"$LATEST\" />"
write_page "<input type=\"submit\" value=\"submit source package name\" />"
write_page "</form>"