Register - Login
Views: 99831439
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 09:26:19 PM
Jul - Meta - Can't preview items with an apostrophe in the name New poll - New thread - New reply
Next newer thread | Next older thread
Techokami
Member
Developed for use only with NTSC Genesis systems.
Level: 24


Posts: 69/95
EXP: 68019
For next: 10106

Since: 07-25-07

From: LINUX

Since last post: 66 days
Last activity: 50 days

Posted on 05-25-09 02:50:43 PM Link | Quote
Simple as that, really. When you click the "Preview" link for an item like "Thief's Dagger" no preview appears. I suspect the apostrophe is not being properly escaped...

____________________
Click here to enter the SigChat
Xkeeper

Level: 263


Posts: 10943/25353
EXP: 297157468
For next: 1802985

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 14 hours

Posted on 05-25-09 07:59:24 PM Link | Quote
That it isn't. Should be a fairly simple fix (just Javascript code needs updating), expect a fix next year some time.

____________________
Sukasa

Level: 123


Posts: 998/4326
EXP: 20936865
For next: 294401

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 05-27-09 02:39:02 AM Link | Quote
Sukasa - Send Private Message

I'm a good javascript coder

____________________
Joe
Common spammer
🍬
Level: 111


Posts: 837/3392
EXP: 14501966
For next: 366394

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 1 hour

Posted on 05-27-09 03:36:11 AM Link | Quote
The problem isn't (directly) in the javascript. The apostrophe has to be HTML-escaped by something server-side, otherwise it looks like the closing quote of the onclick attribute.

____________________
#70
Xkeeper

Level: 263


Posts: 10955/25353
EXP: 297157468
For next: 1802985

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 14 hours

Posted on 05-27-09 07:41:23 AM Link | Quote
I was somewhat hoping you might have realized that I was already more than well aware that the problem was things needing to be escaped, and the problem being reported as a "javascript error" was because it was related to the javascript for previews not having escaped apostrophes.

____________________
Joe
Common spammer
🍬
Level: 111


Posts: 838/3392
EXP: 14501966
For next: 366394

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 1 hour

Posted on 05-27-09 09:45:40 PM Link | Quote
I would be surprised if you didn't know what the problem was. I was pointing it out so anyone else interested wouldn't have to dig around the board's code to figure it out.

____________________
#70
Next newer thread | Next older thread
Jul - Meta - Can't preview items with an apostrophe in the name New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

30 database queries, 1 query cache hits.
Query execution time: 0.101815 seconds
Script execution time: 0.010988 seconds
Total render time: 0.112803 seconds