Opened 11 years ago
Closed 4 years ago
#354 closed defect (bug) (fixed)
Encoding issue in WP.org notifications
Reported by: | SergeyBiryukov | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Profiles | Keywords: | |
Cc: |
Description
Previously: #wp21542
In my WP.org profile, I've set a notification for my name in Cyrillic ("Сергей", 6 letters). It seems to work fine, however, I also get notifications for six question marks in a row (??????, see this post on Polyglots for an example).
Attachments (2)
Change History (20)
#2
follow-up:
↓ 3
@
10 years ago
Still getting notifications each time someone writes "??????" on the forums.
#3
in reply to:
↑ 2
@
9 years ago
...or in a BuddyPress ticket.
#4
follow-up:
↓ 5
@
9 years ago
@SergeyBiryukov: I just pushed up a bunch of updates for the notifications code. I created the same notification rule as you have ("Сергей") for myself and have since gotten the "??????" notifications as you reported (while the old code was still in use). When testing with the new code while sandboxed, I was unable to reproduce the issue. Now that the new code is live, I'll continue to monitor if the issue persists. If so, I'll get those errant emails and investigate.
#5
in reply to:
↑ 4
@
9 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Replying to coffee2code:
Now that the new code is live, I'll continue to monitor if the issue persists. If so, I'll get those errant emails and investigate.
Cheers! Closing as fixed then, will reopen if it happens again.
#6
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
@coffee2code: Got a notification for a comment on lt.wordpress.org:
[wporg-match] on Lithuania (match: ??????)
#7
follow-up:
↓ 8
@
9 years ago
Got a notification for this comment as well:
[wporg-match] Stephen Edgar on WordPress Trac (match: ??????)
#8
in reply to:
↑ 7
@
9 years ago
Replying to SergeyBiryukov:
Got a notification for this comment as well:
[wporg-match] Stephen Edgar on WordPress Trac (match: ??????)
That was me on a Mac using CTRL+CMD+SPACE and selecting the "thumbs up" emoji :+1:
#10
follow-up:
↓ 11
@
8 years ago
@SergeyBiryukov: Just check in, is this still an issue you're seeing?
#11
in reply to:
↑ 10
@
8 years ago
Replying to coffee2code:
Just check in, is this still an issue you're seeing?
Yep, the latest notification was 4 months ago from this topic. For a quick test, just post "??????" somewhere and I'll tell you if I get it :)
#12
@
7 years ago
- Resolution set to fixed
- Status changed from reopened to closed
@SergeyBiryukov: I don't believe this is still an issue. Since this ticket was opened I've had a notification for "Сергей" set up so I could see the problem firsthand. I was able to verify getting notifications for occurrences of "??????" for awhile, but eventually that stopped. I haven't received an errant "??????" notification in many many months.
I recently posted to the support forums from a test account with "??????" in the reply content and haven't received a notification about it.
As such, I'm going to close this as fixed.
#13
@
4 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Just noticed that while notifications themselves seem to work, non-Latin keywords are not correctly displayed in the notification settings, both when viewing and editing. I have not tried to re-save them yet, as I'm not quite sure that it won't break the notifications.
See 354.png, these should be displayed as "Бирюков" and "Сергей", respectively.
#14
@
4 years ago
Looks like this will only be the case with notifications added prior to a certain date when the Latin1 database was being treated as utf8.
Looking through the affected notifications, there's definitely a few legitimate ones like this, but the majority are spam and vulnerability testers.
I'll see if I can convert them over automatically without too much difficulty..
#15
follow-up:
↓ 16
@
4 years ago
- Resolution set to fixed
- Status changed from reopened to closed
Hey Сергей
Can you confirm that your notifications now look correct, and that this triggered a notification?
Marking as fixed, preemptively.
#16
in reply to:
↑ 15
@
4 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Replying to dd32:
Can you confirm that your notifications now look correct, and that this triggered a notification?
Nope, "Сергей" is better than question marks, but still quite different from "Сергей" :)
The notification did work though.
#17
@
4 years ago
Nope, "Сергей" is better than question marks, but still quite different from "Сергей" :)
Hrrmmm.. That's been double UTF8->latin1 encoded.. that should not have happened.. I'll check it again..
Your notifications page looked fine to me yesterday, and no longer does, so I'd be willing to bet I accidentally ran the query again somehow..
#18
@
4 years ago
- Resolution set to fixed
- Status changed from reopened to closed
I fixed the DB again, and have left it for a few days, and still looks correct to me still. So I'm guessing it was my error.
There were a few other users who also had mis-encoded data, I believe from a previous conversion fix, that I've also mostly fixed.
Hopefully Сергей will trigger a notification correctly this time.
@coffee2code: You might want to take a look at this, probably some character encoding issue in the notifications code.