Commit 8ad4e196 authored by olaf michaelis's avatar olaf michaelis
Browse files

Make apache resilient to missing slash in front

parent e804a7c2
#!/bin/bash
function sanitize(){
r="$(echo "${1}/" \
r="$(echo "/${1}/" \
| tr -s "/" \
| sed 's/.$//'
)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment