[TYPO3-core] RFC: Quoting variable for regexp, typo3/mod/tools/em/index.php
Bernhard Kraft
kraftb at kraftb.at
Tue Sep 13 11:30:40 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ingmar Schlecht wrote:
| Thus changing: $cmpF to preg_quote($cmpF,'/')
I already came accross this and planned to send a patch request soon ... good somebody
else did it :)
I used a str_replace for fixing it ... but the preq_quote way is much finer. Didn't know
about this function.
+1 from me.
greets,
Bernhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDJpw+Il4dkVkDMFkRAs1SAKC8a/oJeJU+9fIMbvRaAmwR3RNemwCfS42u
EM73/VRH/BBXohXQQmXIHYo=
=iVOU
-----END PGP SIGNATURE-----
More information about the TYPO3-team-core
mailing list