fix against issue https://github.com/globaleaks/Tor2web-3.0/issues/112 (thanks to asphxia)