forked from solderpunk/AV-98
fixes input in Gemini
This commit is contained in:
parent
2b234cdc43
commit
010288a6fb
|
@ -14,6 +14,7 @@ Changes since beta1
|
|||
- fixes existing non-html ressources marked a to_fetch even when not needed (simple and/or confusion)
|
||||
- fixes a crash with RSS feeds without <link> element
|
||||
- fixes a bug in HTML renderer where some hX element were not closed properly
|
||||
- fixes input in Gemini while online
|
||||
- attempt at hiding XMLparsedAsHTMLWarning from BS4 library
|
||||
- chafa now used by default everywhere if version > 1.10
|
||||
- ignoring encoding error in ansicat
|
||||
|
|
|
@ -688,7 +688,8 @@ def _fetch_gemini(url,timeout=DEFAULT_TIMEOUT,interactive=True,accept_bad_ssl_ce
|
|||
else:
|
||||
#TODO:FIXME we should not ask for user input while non-interactive
|
||||
user_input = input("> ")
|
||||
return _fetch_gemini(query(user_input))
|
||||
newurl = url.split("?")[0]
|
||||
return _fetch_gemini(newurl+"?"+user_input)
|
||||
else:
|
||||
return None
|
||||
# Redirects
|
||||
|
|
Loading…
Reference in New Issue
Block a user