[ka-Map-dev] Bug in init.php?
Tim Schaub
tim at commenspace.org
Thu Mar 16 11:16:31 EST 2006
> From: ka-map-dev-bounces at lists.maptools.org
> [mailto:ka-map-dev-bounces at lists.maptools.org] On Behalf Of
> Gabriel Rodríguez Alberich
> Sent: Thursday, March 16, 2006 5:00 AM
> To: ka-map-dev at lists.maptools.org
> Subject: [ka-Map-dev] Bug in init.php?
>
> The following check is made at line 275 of init.php:
>
> if (!strpos($szURL,':'))
Nice catch. In CVS, this was line 252
I changed it to
if(preg_match('/:\d+$/', $szURL) == 0) {
I think this should address the problem.
Tim
> Gabriel Rodríguez Alberich <grodriguez at yaco.es> Ingeniería de
> Sistemas - YACO S.L.
> Sierpes 48, 41004 Sevilla - España
> Tfno: 954500057 FAX: 954500929
> http://www.yaco.es
>
> _______________________________________________
> ka-Map-dev mailing list
> ka-Map-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-dev
>
More information about the ka-Map-dev
mailing list