Re: [pear-webmaster] release-upload.php patch
| From: | Martin Jansen | Date: | Tue, 13 Jul 2004 11:09:05 +0000 |
| Subject: | Re: [pear-webmaster] release-upload.php patch | ||
| References: | 1 2 3 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-2791@lists.php.net to get a copy of this message | ||
On Mon Jul 12, 2004 at 10:4440PM +0200, Cipriano Groenendal wrote:
> +++ release-upload.php 12 Jul 2004 20:44:41 -0000
> @@ -216,6 +216,10 @@
> . 'You may want to correct your package.xml file:');
>
> // XXX ADD MASSIVE SANITY CHECKS HERE
> + if (substr_count($info['version'], '.') != 2){
> + // A valid version number has two . seperators.
> + $errors[] = 'invalid package version';
> + }
This has been fixed by another patch [1] a few hours ago.
[1]: http://cvs.php.net/diff.php/pearweb/public_html/release-upload.php?ws=0&r1=1.39&r2=1.40&ty=u
--
- Martin Martin Jansen
http://martinjansen.com/