View Full Version : urlcode in servernames
hi there
since my update to 2.0.18.25 i have i webpost sites urldecoded strings in the servernames and so on !
like: %2E%3Apj%3A%2E+Voiceserver
can anyone help me ?
http://www.teamspeak-server.de/modules/tsstats/?sort=server_ip&direction=asc
hmm just noticed this to :(
N. Werensteijn
03-11-2002, 15:43
Maybe just update your scripts tp encode those codes back to chars? I think the guy that makes that script will fix that as soon as he can.
in der datei webpost.php
finde ich in die zeilen
// update existing server
if (mysql_num_rows($sql)!= 0) {
$server_ispname = htmlspecialchars($server_ispname);
$server_name = htmlspecialchars($server_name);
$server_linkurl = htmlspecialchars($server_linkurl);
query("UPDATE $dbtable SET
Die Zeile mit server_linkurl habe ich dazugefuegt.
Originally posted by N. Werensteijn
Maybe just update your scripts tp encode those codes back to chars? I think the guy that makes that script will fix that as soon as he can.
right now they are varchars ? isnt that a standard ? well varchar2 doesnt excist on my version :)
html converts character to %20 = space and so on.
didn't find the right solution.
someone know the right php-function to convert?
Timotheus[PBC]
03-11-2002, 22:57
x= urlencode("Hallo Welt"); ...... x=> "Hallo%20Welt"
x= urldecode("Hallo%20Welt"); ...... x=> "Hallo Welt"
oder das gleiche mit rawurlencode()/rawurldecode() nach RFC1738 (alle Sonderzeichen ausser "_" und "-" werden codiert)
or do the same by rawurlencode()/rawurldecode() according to RFC1738 (all special characters except "_" and "-" will be encoded)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.