[FIX] urlWithPassword-ls (reposted without Tests, for inclusion)

marcus at ira.uka.de marcus at ira.uka.de
Mon Jul 21 17:18:22 UTC 2003


this one should go in the image... 

revision history:

v4: v3, but without tests.
v3: lex's corrected version
v2: reposted without tests
v1: Lex original

from preamble:

"Change Set:		urlWithPassword-ls
Date:			15 June 2003
Author:			Lex Spoon

Parse URL's that have a password specified in them.

Adds test cases for this situation in the UrlTestCase classe; if there
is a package somewhere that has URL tests in it, these should be moved
there.

Also does some minor refactoring of the relevant code.

The current code gives a walkback on encountering such URL's, which is
frustrating if you are trying to delete spams within Celeste.

Note: this code does not actually *use* the username and password that
are specified; it only parses them.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urlPasswd-Tests.cs.gz
Type: application/octet-stream
Size: 2172 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030721/5fd4bbf9/urlPasswd-Tests.cs.obj


More information about the Squeak-dev mailing list