← Back to team overview

indiv-screenlets-dev team mailing list archive

[Bug 478018] Re: [Gmail] Function for Gmail in Plugin Mail does not handle special characters

 

** Changed in: indiv-screenlets
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/478018

Title:
  [Gmail] Function for Gmail in Plugin Mail does not handle special
  characters

Status in Screenlets — individual widgets development:
  Fix Released

Bug description:
  Using the screenlet Gmail, which implements a call to the function
  Mail.get_GMail_Num() from plugins, I noticed that I received an error
  on the screenlet output. Checking it further, the reason was that the
  function mentioned received the login and password as arguments but
  directly put them into the URL string, so when the code (which calls
  wget, don't know why) is executed, an error shows up in case the
  password or login (most likely password) contains special characters,
  such as dollar sign ($) or ampersand (&).

  I got it working by using url encode on the login/password values (see
  attachment for patch).

To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/478018/+subscriptions