Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21868

Problem with special characters in the password field (urllib)

Date 2012-03-19 03:57 +0530
From Bernhard Heijstek <bernhard.heijstek@yahoo.com>
Subject Problem with special characters in the password field (urllib)
Newsgroups comp.lang.python
Message-ID <mailman.790.1332109638.3037.python-list@python.org> (permalink)

Show all headers | View raw


Hi,

I'm having problems getting a script that I wrote to check the unread Gmail feed work (http://pastebin.com/FAGyedH0). The script fetches the unread mail feed (https://mail.google.com/mail/feed/atom/) and then parses it using python-feedparser.

The script seems to work fine if I'm not using any special characters like !@#$%^&*() in the password. I tried some pretty basic debugging and saw that the execution stops beyond line 35 which is where the authentication happens. So I figured that this has got to do something with urrllib and special characters in the password field. I've also tried prefixing the string with 'r' without any success.

Any help is appreciated.

Cheers!

Bernhard.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Problem with special characters in the password field (urllib) Bernhard Heijstek <bernhard.heijstek@yahoo.com> - 2012-03-19 03:57 +0530

csiph-web