Version: 1.0 (using KDE 4.6.0)
After setting the URL shortener to "Yourls", Inputting the YOURLS API url, username, and password, Choqok would not shorten the URL, claiming "Invalid Username or Password".
The username/password combination is correct, I used the same combination to login to the YOURLS control panel
Steps to Reproduce:
1. Set url shortener to "yourls"
2. Enter in API URL
3. Enter in username/password
4. Shorten Link
KDE showed a notification saying "invalid username or passowrd"
URL should have been shortened
I confirm this bug on version 1.1 of Choqok
It does not send the password in the GET request, the field is simply empty (I checked with wireshark)
Better use a signature token. And I can confirm, it won't work as it is. I checked the server log.
Created attachment 69364 [details]
Dirty patch to make it work
The "password" variable didn't seem initialized. I copied the init function code to just before the variable is being used.
Works for me, but is not to be merged ;-)
The 'dirty patch' works for me. First time I've seen the yourls plugin actually work. w00t! ;)
*** Bug 336030 has been marked as a duplicate of this bug. ***