[csw-devel] SF.net SVN: opencsw:[409] catalog_signatures
Ben Walton
bwalton at opencsw.org
Thu Jul 21 16:10:42 CEST 2011
Excerpts from Maciej Bliziński's message of Thu Jul 21 09:59:09 -0400 2011:
> > return false unless parts.size.eql?(3)
> > - return false unless VALID_TREES.include?(parts[0])
> > - return false unless VALID_ARCHES.include?(parts[1])
> > - return false unless VALID_RELEASE.include?(parts[2])
>
> I don't see these lines added elsewhere. Does it mean that checking
> is gone?
Yes, the handler is only called for valid URL's which are constructed
from the constants in the other file. Originally, the handler was
defined to catch everything under either /clearsign or /detach-sign.
Now it gets W*X*Y*Z URL's explicitly defined, where W = 2 (sign type)
and X, Y and Z are the catalog, arch and os combinations.
Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
More information about the devel
mailing list