View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001074||SigServer||Bug Report||public||2008-04-07 21:37||2008-04-13 22:48|
|Summary||0001074: Certain anime titles will crash the sig with an "Invalid XML" error message.|
|Description||The command being used: truncate($watching_id1_aname,25,"..")|
The anime referenced: http://anidb.net/perl-bin/animedb.pl?show=anime&aid=225
("Figure 17 - Tsubasa & Hikaru").
I'm speculating that the "&" is making something unhappy, but I've not tested that far. Viewdate, seencount, episodes for the same title all work correctly, but as soon as "aname" for that title is included in the signature, it crashes with an "Invalid XML" error.
|Tags||No tags attached.|
I marked an episode of http://anidb.net/perl-bin/animedb.pl?show=anime&aid=918 ("Hyper-Doll: Mew & Mica The Easy Fighters") as watched and got the same "Invalid XML" message.
For giggles I tried
and marked an episode containing an "&" (e44789) as watched to see what would happen.
Same "Invalid XML" error as before, but with an additional note: "EntityRef: Expecting ';' at line 35 (char 45)"
||it was indeed the &. From now on all SigMath output will be properly escaped (&), etc. & in plain XML still have to be escaped by hand as it should.|
Under certain conditions, this error continues. If I can find a way to make the tracker downgrade the severity to 'minor' and reopen it, I will.
Returning to the sample anime (aid 225): "Figure 17 - Tsubasa & Hikaru"
If feeding the aname to a truncate function, the signature will still crash [i]depending on where[/i] the name is truncated.
truncate values of 23 through 26 fail
truncate values of 27 and greater work
truncate values of 22 and less seem to work (only tested to 20)
I have not tested functions other than truncate.
||The issue is fixed in the development version. Hence it will take efffect once it rolls out. It is mark fixed since I need to keep track of done things myself. It is indeed the "&" that is causing the crasch.|
|2008-04-07 21:37||Ommina||New Issue|
|2008-04-07 21:37||Ommina||Status||new => assigned|
|2008-04-07 21:37||Ommina||Assigned To||=> antennen|
|2008-04-07 21:50||Ommina||Note Added: 0001931|
|2008-04-09 00:19||antennen||Status||assigned => resolved|
|2008-04-09 00:19||antennen||Resolution||open => fixed|
|2008-04-09 00:19||antennen||Note Added: 0001940|
|2008-04-13 21:51||Ommina||Status||resolved => feedback|
|2008-04-13 21:51||Ommina||Resolution||fixed => reopened|
|2008-04-13 21:51||Ommina||Note Added: 0001955|
|2008-04-13 22:48||antennen||Note Added: 0001956|
|2008-04-13 22:48||antennen||Status||feedback => resolved|
|2008-04-13 22:48||antennen||Resolution||reopened => fixed|