Path traversal is a attack by access file with URL
if the server ban the space , dot or other characters than it can use with URL Code
like %2f mean /

In Go server you can use %2e mean . to make redierct failed
like anything.com/%2e/flag
or

curl --path-as-is "http://chals1.ais3.org:30000//flag" -X CONNECT