Open sebastian-philipp opened 5 years ago
The statement in question is
url(r'^robots.txt$', include('robots.urls'))
and in most cases where one uses include()
the result is multiple additions to the url patterns. With the $
we imply that it must be exactly one.
One could go into security discussions because omitting the $
would mean there can be an arbitrary URI whereas we force exactly robots.txt
.
IMO it's a minor issue and I wouldn't oppose seimply removing the $
in order to get rid of that warning.