r888888888/reportbooru

Incorrect URL links for user accounts on Inactive Approvers report

Closed this issue · 1 comments

With the switch to version 3 on the Inactive Approvers report, it seems like a variable isn't being properly dereferenced and so it spits out the object reference instead.

Example:

https://danbooru.donmai.us/users/#DanbooruRo::User:0x0055c1a88e6790

Version 2 (without issue): http://isshiki.donmai.us/user-reports/inactive_approvers/2017-10-22_v2.html
Version 3 (with issue): http://isshiki.donmai.us/user-reports/inactive_approvers/2017-10-29_v3.html

As an additional issue, it seems like there is some kind of text encoding error going on with the Inactive Approvers report, as one of the users is listed as 一声, when such a user doesn't even exist. It sort of looks like garbled Kanji characters, and sure enough when I manually switched the encoding to UTF-8 the name instead read as 一声 which does exist. Checking the other reports, it seems like this encoding issue only exists on the Inactive Approvers report.

fixed in bfe74f4