Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Koehler
rdmo-docker-compose
Commits
8ad4e196
Commit
8ad4e196
authored
Oct 22, 2019
by
olaf michaelis
Browse files
Make apache resilient to missing slash in front
parent
e804a7c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
apache/drun.sh
View file @
8ad4e196
#!/bin/bash
function
sanitize
(){
r
=
"
$(
echo
"
${
1
}
/"
\
r
=
"
$(
echo
"
/
${
1
}
/"
\
|
tr
-s
"/"
\
|
sed
's/.$//'
)
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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