Bugzilla – Attachment 90463 Details for
Bug 23090
MySQL validate_password plugin breaks koha-create
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23090: Add some special characters
Bug-23090-Add-some-special-characters.patch (text/plain), 928 bytes, created by
Mark Tompsett
on 2019-06-10 18:53:54 UTC
(
hide
)
Description:
Bug 23090: Add some special characters
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2019-06-10 18:53:54 UTC
Size:
928 bytes
patch
obsolete
>From 58d40a2438f988f31beb59c38a41d0a4e8c9505a Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 10 Jun 2019 14:36:49 -0400 >Subject: [PATCH] Bug 23090: Add some special characters > >--- > debian/scripts/koha-create | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 5e60f7cd77..35572f223c 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -579,7 +579,10 @@ if [ "$op" = create ] || [ "$op" = request ] || [ "$op" = use ] > then > if [ "$mysqlpwd" = "" ] > then >- mysqlpwd="$(pwgen -s 16 1)" >+ # over-size, so when problematic chars are removed, >+ # still likely 16 characters left. >+ mysqlpwd="$(pwgen -s -y 32 1)" >+ mysqlpwd="$(echo $mysqlpwd | tr -d :\'\\\<\>\/ | cut -c1-16)" > fi > else > mysqlpwd="$(getinstancemysqlpassword $name)" >-- >2.11.0
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 23090
:
90463
|
90822
|
90870