Bugzilla – Attachment 105626 Details for
Bug 25622
Change way MySQL password is generated by koha-create
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25622: use -r paramter to blacklist some special chars
Bug-25622-use--r-paramter-to-blacklist-some-specia.patch (text/plain), 868 bytes, created by
Jonathan Druart
on 2020-06-08 09:47:35 UTC
(
hide
)
Description:
Bug 25622: use -r paramter to blacklist some special chars
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-06-08 09:47:35 UTC
Size:
868 bytes
patch
obsolete
>From c4a1ba4261398d95512f3e1eda3cf99e64f0bc19 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 8 Jun 2020 11:45:40 +0200 >Subject: [PATCH] Bug 25622: use -r paramter to blacklist some special chars > >--- > debian/scripts/koha-create | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 3be332fce4..9044c01afb 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -595,8 +595,7 @@ then > # over-size, so when problematic chars are removed, > # still likely 16 characters left. > # Removing : ' & \ < > / >- mysqlpwd="$(pwgen -s -y 32 1)" >- mysqlpwd="$(echo $mysqlpwd | tr -d :\'\&\\\\\<\>\/ | cut -c1-16)" >+ mysqlpwd="$(pwgen -s -y -r ":'&\\<>/" 16 1)" > > fi > else >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25622
:
105436
|
105504
|
105626
|
105779
|
136559