40ants / weblocks-file-server

A file browser for Weblocks web framework.
2 stars 2 forks source link

Decode url #2

Closed C-Entropy closed 3 years ago

C-Entropy commented 3 years ago

When visit file of which name contains space and other characters, it is necessary to decode it. For example: sample.xyz/sample image.jpg is invalid sample.xyz/sample%20image.jpg is valid. But this way local file can't been match successfully. So how should this be supported? Decode the uri before it been send to file-server, or decode it inside file-server?

C-Entropy commented 3 years ago

Emm, it seems that this is because clack for now, I will close this issuse I figured it out.

C-Entropy commented 3 years ago

Close it now, see here for furter info.