|Subject:||RequestAuth fails for '/'|
If you provide a filepath of '/' to RequestAuth, the _checkAuth function fails to work properly and does not password protect the default document root index page after all. My server is not serving actual files - document root is set to undef - instead I have a hard-wired list of url paths each of which triggers a different callback. However, the callback attached to the path '/' does not bring up a password prompt as expected. This is a problem for me since I need to password protect every page served without exception. I attach a patch I have created containing a one-line fix which solves the problem. Thank you for writing Net-HTTPServer. (This is Net-HTTPServer 1.1.1, running on Perl 5.8.6 on Linux 2.4.20).
Message body not shown because it is not plain text.