|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...) |

09-01-2007, 08:02 PM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
This is great!
One thing I may report? You need to escape out single quotes, as some items have a ' in their name.
The way the editor is now, it breaks if you try to edit any item (or lore) with an apostrophe.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|

09-09-2007, 12:34 PM
|
Dragon
|
|
Join Date: Dec 2003
Location: Earth
Posts: 818
|
|
Item Editor..
Quote:
Originally Posted by gernblan
This is great!
One thing I may report? You need to escape out single quotes, as some items have a ' in their name.
The way the editor is now, it breaks if you try to edit any item (or lore) with an apostrophe.
|
Treid it last night...seems it inserts above max_id and crashes the server
so you wantto watch what you duplacate for now.
|

09-18-2007, 11:41 AM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
I'm referring to the fact that anything with an apostrophe needs an "escape" a \ before the ' to be read correctly.
The code is stripping them out (no logic to handle the escapes), which is cutting off anything in a name past the '
It's a show stopping bug because it can corrupt item names with an apostrophe in them.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|

09-18-2007, 12:00 PM
|
Dragon
|
|
Join Date: Dec 2003
Location: Earth
Posts: 818
|
|
ok
Quote:
Originally Posted by gernblan
I'm referring to the fact that anything with an apostrophe needs an "escape" a \ before the ' to be read correctly.
The code is stripping them out (no logic to handle the escapes), which is cutting off anything in a name past the '
It's a show stopping bug because it can corrupt item names with an apostrophe in them.
|
Thats also a bug but it also inserts the new item above max_item_id 's limit.
|

09-18-2007, 12:26 PM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
Quote:
Originally Posted by sdabbs65
Thats also a bug but it also inserts the new item above max_item_id 's limit.
|
Ok, but since you quoted me I thought you were commenting on what I said specifically. 
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|

09-20-2007, 12:10 PM
|
Discordant
|
|
Join Date: May 2004
Posts: 290
|
|
This can be confusing sometimes if magic_quotes_gpc are enabled in PHP. This setting automagically escapes single and double quotes on POSTed data, but doesn't actually insert the escape characters into the DB. So, the data will post properly, but will need escaped when echoing into the form HTML.
On the other hand, if magic_quotes_gpc is off on your system, the single quotes might be breaking your insert query string, so the data isn't making it to the DB properly.
Either way, using double quotes to delimit your string values in the HTML form is an easy way to deal with single quotes. This is, of course if you don't plan on ever having strings that have double quotes in them. If you do, you could always do some str_replace()'s with ascii values for quotes.
|

09-26-2007, 06:55 AM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
So yeah, until that is addressed and fixed I cannot recommend this excellent script to anyone.
...and that sucks.
I'd fix it, honest I would, if I only had time. I'm so buried in the upkeep of my own server and the other projects I've already taken on. :(
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|

09-18-2007, 12:26 PM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 12:12 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |