You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the requested URL resolves to a FIFO then merecat opens and reads it like a regular file, which leads to a hang (blocking read on the FIFO). Note that this prevents any further connections from being handled. See here for reference.
The text was updated successfully, but these errors were encountered:
/* If it is not a regular file or a dir, forbid acces. */elseif (!S_ISREG(hc->sb.st_mode) ) {
httpd_send_err(hc, 403, err403title, "", ERROR_FORM(err403form,
"The requested URL '%.80s' does not resolve to a regular file or a directory"),
hc->encodedurl );
return-1;
}
However, I'm considering a 404 instead of 403. Feels like a bit too "blabby" by the web server to leak the above meta data?
Should be fixed in ffd8fe6. Feel free to re-open the issue should the problem persist!
Thank you again for reporting the bug, not only does it help Open Source in general, it reminded me I need to finialize the work I've done but not yet officially released (HTTPS support etc.)! 😃
If the requested URL resolves to a FIFO then merecat opens and reads it like a regular file, which leads to a hang (blocking read on the FIFO). Note that this prevents any further connections from being handled. See here for reference.
The text was updated successfully, but these errors were encountered: