From b931bbd0c30907b9cc956d3707b26b449bf41f76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 14 Jan 2024 22:21:33 +0100 Subject: [PATCH] Squashed 'cgilite/' changes from 9e5394e..3a4544b 3a4544b Fix broken range requests when running in dash bfef1a0 allow autocomplete in login form 0f62500 avoid overflow of long links git-subtree-dir: cgilite git-subtree-split: 3a4544b251d7ca6192b3ff7c635a0f1f2efe8285 --- common.css | 1 + file.sh | 2 +- users.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common.css b/common.css index dbaafd1..30c3942 100644 --- a/common.css +++ b/common.css @@ -29,6 +29,7 @@ a { font-style: italic; text-decoration: underline; color: #068; + word-break: break-word; } a.button { font-style: inherit; diff --git a/file.sh b/file.sh index 20990d3..8d810b5 100755 --- a/file.sh +++ b/file.sh @@ -83,7 +83,7 @@ FILE(){ range="${HTTP_RANGE#bytes=}" case "$range" in - *[^0-9]*-*|*-*[^0-9]*) + *[!0-9]*-*|*-*[!0-9]*) range="" ;; *-) diff --git a/users.sh b/users.sh index d738ee9..f616ca0 100755 --- a/users.sh +++ b/users.sh @@ -638,7 +638,7 @@ w_user_invite(){ w_user_login_logon(){ # TRANSLATION cat <<-EOF [form #user_login .login method=POST - [input name=uname placeholder="Username or Email" autocomplete=off] + [input name=uname placeholder="Username or Email"] [input type=password name=pw placeholder="Passphrase"] [submit "action" "user_login" Login] ] -- 2.39.2