pierrejean-coudert / pwytter

Automatically exported from code.google.com/p/pwytter
0 stars 0 forks source link

Clicking on friend with no web site opens current directory listing #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open friends box
2. Find a friend which does not list a web site in their profile
3. Click their image

What is the expected output? What do you see instead?

Expected output is for pwytter to open a browser window with the web site
listed in a friend profile. However, when a friend does not list a web site
in their profile, a browser will show the directory listing for the
directory that pwytter was launched from; in my case;
file:///home/ryochan7/Sources/pwytter/src/. This is due to a blank string
being passed to the _openweb method.

What version of the product are you using? On what operating system?

Version: 0.9 (trunk)
OS: Ubuntu Linux 8.10

Please provide any additional information below.

The included patch contains a small change to the _openweb method. If a
blank string is passed as the url, it will be ignored and the method will
return.

Original issue reported on code.google.com by nickles....@gmail.com on 9 Apr 2009 at 7:20

Attachments: