Bug #15021 Updated: Format error!

From: Date: Mon, 14 Jan 2002 11:54:32 +0000
Subject: Bug #15021 Updated: Format error!
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77005@lists.php.net to get a copy of this message
ID: 15021 Updated by: hholzgra Reported By: frank.liebelt@acst.de Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux / Windows PHP Version: 4.1.1 New Comment: although using '&amp;' as delimiter instead of '&' this still qualifies as a browser error IMHO, as the entity to replace is "&curren;", not "&curren" without a semi colon Previous Comments: ------------------------------------------------------------------------ [2002-01-13 18:20:05] frank.liebelt@acst.de Sorry, but we have´t known that &curren; is a HTML entitie! Thanks! ------------------------------------------------------------------------ [2002-01-13 18:00:07] torben@php.net Just to add to this, check the list of HTML entities. &curren; is the 'currency' sign entity. Torben ------------------------------------------------------------------------ [2002-01-13 17:59:02] derick@php.net Not a bug, you should always use &amp; in <a href sections. (Read the HTTP specs if you really want to :) Derick ------------------------------------------------------------------------ [2002-01-13 17:54:15] frank.liebelt@acst.de Hi, we are 6 people with different versions from 3.07 to 4.1.1 an we have all the same problem. In our code we have the following line: echo "http://www.irdendwas.pol/lk.php?id=1&currency=EUR"; But the output looks like: http://www.irdendwas.pol/lk.php?id=1¤cy=EUR We think this is a bug in PHP. When we change id with currency all wend fine: echo "http://www.irdendwas.pol/lk.php?currency=EUR&id=1"; It looks like &curren will be interpreted as what ever! ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15021&edit=1

« previous php.dev (#77005) next »