A bug in quote-character conversion.
|
|
By haflinger , Section Code [] Posted on Tue Mar 12, 2002 at 12:00:00 PM PST
|
|
Scoop, when taking input, converts typed quotes into " characters. However, it appears to do it at the point of storage, rather than when outputting the data- this is quicker, but leads to a slight problem in some cases.
|
The bug can be seen here. Basically, the submission routines took my input, which looked like this: "Palestinian terrorist hid in ambulance..." and processed it, turning the quotes into " characters. Unfortunately, while doing so, it hit the max title length, leaving &qu at the end of the title. There are two possible solutions that I can think of:- Increase the max title length, perhaps by switching to null-terminated strings (not a small task I know :)
- Switch the conversion routines over so they only work on display of comments.
Incidentally, just detected another bug. This story uses the & code fairly extensively; when I preview, all the & characters get replaced by ampersands in my submit area. This is Not Good. :) |
|
Story Views
|
16 Scoop users have viewed this story.
|
|