I noticed an odd behaviour, maybe it's not intended.

I was trying to use lynx to read articles in my terminal, but noticed
google news redirects to a URL containing `:`, which lynx rejects:

$ lynx -force_html -restrictions=all 
'https://news.google.com/rss/articles/CBMiVEFVX3lxTE9OVnBXanNudE
5pMzFuT00tdC1ERGhJMXBmN2phb1BiMmJjbnBaWlFYaWN2aFBna1R3Wkd1WnRFdGxMQk0yUTBubGh6bUQ0YW5HVHJJSQ?oc=5'
Alert!: Illegal redirection URL received from server!

Okay, but I can see it works without the restrictions, so it must be one
of the restrictions that `all` is enabling... but which one?

So I tried with every restriction listed in the man page (except
options_save, which is listed in the manual but lynx rejects)

$ lynx -force_html 
-restrictions=bookmark,bookmark_exec,change_exec_perms,dired_support,disk_save,dotfiles,download,editor,exec,exec_frozen,externals,file_url,goto,inside_ftp,inside_news,inside_rlogin,inside_telnet,jump,multibook,mail,news_post,outside_ftp,outside_news,outside_rlogin,outside_telnet,print,shell,suspend,telnet_port,useragent
 
'https://news.google.com/rss/articles/CBMiVEFVX3lxTE9OVnBXanNudE5pMzFuT00tdC1ERGhJMXBmN2phb1BiMmJjbnBaWlFYaWN2aFBna1R3Wkd1WnRFdGxMQk0yUTBubGh6bUQ0YW5HVHJJSQ?oc=5'

Except that works fine :)

Maybe I don't understand how it's supposed to work!

Tavis.

-- 
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger [email protected]
_\_V _( ) _( )  @taviso


Reply via email to