Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v1.4; changing *tribe* name/tag... / another HTML issue
#1
You cannot change the tribe name without changing the tribe tag and vice versa.

It's also checking the length on an escaped string instead of a unescaped one.
That means that \\\ is OK, but \\\\ gives an error about the tag length.

Btw, have you never heard of mysql_real_escape_string?
Data in the database are all urlencoded.
The database is not optimized for DS LAN.
lan.ally.short is a VARCHAR(100), but it has only a length of 6 characters (18 when urlencoded).
An username shouldn't be longer than 20.
The database use 150.
Unsigned int is preffered over signed int if you don't need negative values.

Oh, and the tribe is twice HTML escaped on the map.


Messages In This Thread
v1.4; changing *tribe* name/tag... / another HTML issue - by Lekensteyn - 10.08.2010, 16:40



Users browsing this thread: 1 Guest(s)