cybozu-go / aptutil

Go utilities for Debian APT repositories
MIT License
124 stars 29 forks source link

[cacher] avoid panic for a valid URL #32

Closed ymmt2005 closed 6 years ago

ymmt2005 commented 6 years ago

As reported in #30, go-apt-cacher panics when it accepts a request whose path is just a prefix of defined URL mappings. Instead, it should proxy the request as is to an upstream.

This commit eliminates the panic.