[rt-devel] lib/RT/URI.pm question

Jesse Vincent jesse at bestpractical.com
Wed Apr 16 11:59:57 EDT 2003


That's a vendor URI scheme. nothing else in the world should create URIs
that start with a fsck.com-rt: prefix. Somewhere, there's an RFC
recommending this as the right way to do it.

	-j


On Wed, Apr 16, 2003 at 05:02:29PM +0200, Jeroen Ruigrok/asmodai wrote:
> What exactly does the $scheme do?  Create unique ticket IDs?
> I asked because I see it setting fsck.com-rt.
> 
>     105         my $scheme;
>     106         # Special case: integers passed in as URIs must be ticket ids
>     107         if ($uri =~ /^(\d+)$/) {
>     108                 $scheme = "fsck.com-rt";
>     109         } elsif ($uri =~ /^((?:\w|\.|-)+?):/) {
>     110          $scheme = $1;
> 
> 
> -- 
> Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / a capoeirista
> PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
> http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
> Only the wisest and the stupidest of men never change...
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the Rt-devel mailing list