Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6981] New url handler: url_tla

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6981] New url handler: url_tla
  • Date: Wed, 20 Oct 2004 02:10:53 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=6981





------- Additional Comments From acedit AT armory.com 2004-10-20 02:10 -------
I think the url format is ambiguous in that the same url can be interprited
two different ways. There should be exactly one way to parse any given url.

The url can be of the form
location:archive:revision
or
location:archive:revision:patch-level

but the location could contain colons:
:method:[[user][:password]@]hostname/path/where/archive/lives

This means that urls could look like these
:method:host/path:archive______:revision:patch-level
:method:user_____:pass@hostname:archive_:revision

So the url
:http:foo:stuff@blork:stuff:68
could theoretically fit in either format. Is the host/path foo, or is that
a user? Is stuff@blork the password and hostname, or the name of the archive?
is the revision 68 or is that a patch level? Its usually obvious to us, but
its not obvious to sed. This is of course just a trivial example, many more
scary things will appear given time...and enough spells.

I suggest changing the field delimiters such that the second level delimeter
can not be confused with the first level, either that or making fewer optional
fields.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 6981] New url handler: url_tla, bugzilla-daemon, 10/20/2004

Archive powered by MHonArc 2.6.24.

Top of Page