Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Help, Suggestions, Bug Reports. |
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - Replacement suggestions | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Boom.dk Since: 11-18-05 From: Denmark Last post: 6449 days Last view: 6431 days |
| ||
$post = str_replace("&", "&", $post);
$post = str_replace("<", "<", $post); $post = str_replace(">", ">", $post); If you do that to the stuff that goes into the <textarea> when editing/previewing posts: 1) Typing in </textarea> doesn't fuck up the page and 2) "escaped" characters (& = & , > = > , etc.) doesn't turn into "unescaped" charactes (edited by Boom.dk on 01-22-06 05:06 PM) (edited by Boom.dk on 01-22-06 05:06 PM) |
|||
Zem Permabanned. Flaming, trolling, reregistering. Since: 11-18-05 Last post: 6754 days Last view: 6754 days |
| ||
Originally posted by Boom.dk YES. PLEASE FUCKING DO THIS. Please please please do this. And if you're looking at it going "wait... won't that over-escape characters when you edit posts?" No... no it won't. This will just solve all the problems. |
|||
Xkeeper Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is. Since: 11-17-05 From: Henderson, Nevada Last post: 6431 days Last view: 6431 days |
| ||
Ironically, I had just came up with this idea around 7 PM, heh...
I'll put it (and the other anti-JS thing) in tomorrow, maybe; I just have to figure out where I'm going to be putting the anti-JS script. |
|||
Boom.dk Since: 11-18-05 From: Denmark Last post: 6449 days Last view: 6431 days |
| ||
Well. I would still like to be a part of the board coding team. So... | |||
Zem Permabanned. Flaming, trolling, reregistering. Since: 11-18-05 Last post: 6754 days Last view: 6754 days |
| ||
Originally posted by Boom.dk I support this (not that my opinion matters >=D ) |
|||
Chaos Force Just drifting by... Since: 11-17-05 Last post: 6435 days Last view: 6432 days |
| ||
I thought that was originally part of the code since v1.90 or something. | |||
Zem Permabanned. Flaming, trolling, reregistering. Since: 11-18-05 Last post: 6754 days Last view: 6754 days |
| ||
Just reminding you to put this in.
In case you forget. Cuz it's not in yet. |
|||
Xkeeper Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is. Since: 11-17-05 From: Henderson, Nevada Last post: 6431 days Last view: 6431 days |
| ||
I'm not at home (away), and I've been lazy (and tired).
Besides, couldn't you just use htmlspecialchars() instead? |
|||
Zem Permabanned. Flaming, trolling, reregistering. Since: 11-18-05 Last post: 6754 days Last view: 6754 days |
| ||
I couldn't, but you could. And that would do the trick. |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - Replacement suggestions | | |