]> git.plutz.net Git - serve0/commitdiff
Squashed 'cgilite/' changes from 9e5394e..3a4544b
authorPaul Hänsch <paul@plutz.net>
Sun, 14 Jan 2024 21:21:33 +0000 (22:21 +0100)
committerPaul Hänsch <paul@plutz.net>
Sun, 14 Jan 2024 21:21:33 +0000 (22:21 +0100)
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
file.sh
users.sh

index dbaafd1f49b6c3fcdb6208bb1b7ed633f161d288..30c3942eb5d8a2b4ef42e3fceb972b2d8c54a495 100644 (file)
@@ -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 20990d36474492f700dd5fc60bafc5dbf12f548b..8d810b5d472b0a43db49181f1820dd5e4bad1d08 100755 (executable)
--- 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=""
       ;;
     *-)
index d738ee94ec70a9ac6a55a5cc2321b0628063be4a..f616ca02baca5d07c7199640ab436e064f4d405a 100755 (executable)
--- 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]
        ]