self._redirect(Path(postvars.first_for('redir_target')))
def _receive_file_data(self, digest: Hash, postvars: _ReqMap) -> None:
- if ((not self.server.config.allow_file_edit)
- or self.server.config.whitelist_tags_display): # also here, …
+ if not (self.server.config.allow_file_edit # also if whitelist, …
+ and self.server.config.whitelist_tags_display.empty):
self._send_http('no way', code=403) # … cuz input form under …
return # … this display filter might have suppressed set tags
with DbConn() as conn: