Searching google shows that this has happened before by many others who
accidentally type GET / HTTP/1.1 on the command line.

To someone who expects only / to be returned, this seems like adware,
but it actually is not; GET - being a command, not the HTTP request -
tries to get two things: / and 1.1 from HTTP - which happens to resolve
to www.HTTP.com.

So there actually is no problem.

GET / returns the expected result.
GET HTTP/1.1 returns the "adware"


** Summary changed:

- Adware in libwww-perl
+ "Adware" in libwww-perl (not a bug - just a common misunderstanding)

** Description changed:

+ This is not a bug, nor is it actually adware or malware of any kind. The
+ report simply results from a misunderstanding of the semantics of the
+ GET command. The syntax is not that of standard HTTP, and running
+ 
+ GET / HTTP/1.1
+ 
+ Actually tries to download two pages: / and HTTP/1.1 - the latter being
+ one of those ad/search related sites.
+ 
+ Original description follows.
+ 
+ -----
+ 
  Using Ubuntu Gutsy, package is libwww-perl (version 5.805-1, which
  should be the latest)
  
  Typing GET / HTTP/1.1 on the command line invokes lwp-request, a perl
  script. But the HTML code that it dumped contains the expected list of
  all directories in the local root, followed by unexpected _adware_
  (result of GET / HTTP/1.1 is attached).
  
  Notice that at the end of the valid and requested HTML code, code has been 
appended by the script which:
  1) Includes, though the use of frames, an external advertising site.
  2) Uses the Windows/DOS newline style for the appended code, which obviously 
was not generated in the same manner of the valid code (which appropriately 
outputs standard UNIX newlines)

-- 
"Adware" in libwww-perl (not a bug - just a common misunderstanding)
https://bugs.launchpad.net/bugs/199371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to