Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
7939b419
Commit
7939b419
authored
May 09, 2016
by
Alistair Nixon
Committed by
neil
May 09, 2016
Browse files
fix issue where keyauthorization starts with a - character (#184)
parent
61579ec3
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
7939b419
...
...
@@ -1360,11 +1360,11 @@ issue() {
_debug wellknown_path
"
$wellknown_path
"
token
=
"
$(
printf
"
$keyauthorization
"
|
cut
-d
'.'
-f
1
)
"
token
=
"
$(
printf
"%s"
"
$keyauthorization
"
|
cut
-d
'.'
-f
1
)
"
_debug
"writing token:
$token
to
$wellknown_path
/
$token
"
mkdir
-p
"
$wellknown_path
"
printf
"
$keyauthorization
"
>
"
$wellknown_path
/
$token
"
printf
"%s"
"
$keyauthorization
"
>
"
$wellknown_path
/
$token
"
if
[
!
"
$usingApache
"
]
;
then
webroot_owner
=
$(
_stat
$_currentRoot
)
_debug
"Changing owner/group of .well-known to
$webroot_owner
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment