0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/root
Alex Harrington 55bded68c2 fixing panic when root is symlink (#1429)
* fixing panic when root is symlink
checking root path is a symlink before os.Stat which panics

* fixing formatting

* adding test to verify symlink root path check

* fixing typo
2017-02-15 22:02:51 -07:00
..
root.go fixing panic when root is symlink (#1429) 2017-02-15 22:02:51 -07:00
root_test.go fixing panic when root is symlink (#1429) 2017-02-15 22:02:51 -07:00