favicon.ico in Params
yshym opened this issue · 2 comments
yshym commented
Why is favicon.ico
passed to Params
if your url template is f.e. /:id
?
gunawanwijaya commented
because * and :arg is a wildcard-like pattern; but instead assigned the value in arg;
maybe you need to consider the pattern? like /user/:id?
when no favicon registered in html, browser will automatically get from /favicon.ico
so yeah, you get 2 incoming connection from browser the actual path + favicon path
yshym commented
I think, favicon.ico
should be ignored if the path is /:id
. I leave this issue opened. In the case it is not a bug any maintainer can close this thread