Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)
SOLVED

URGENT: Anonymous usernames saved in browser cookies are being corrupted

%3CLINGO-SUB%20id%3D%22lingo-sub-2271517%22%20slang%3D%22en-US%22%3EURGENT%3A%20Anonymous%20usernames%20saved%20in%20browser%20cookies%20is%20being%20corrupted%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2271517%22%20slang%3D%22en-US%22%3E%3CP%3ERecently%2C%20a%20simple%20yet%20terribly%20annoying%20bug%20is%20affecting%20everyone%20in%20the%20world.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20someone%20chooses%20to%20join%20a%20meeting%20using%20a%20browser%2C%20as%20Guest%2C%20Teams%20saves%20a%20cookie%20called%20%E2%80%9CteamsAnonymousUserName.%E2%80%9D%20This%20cookie%20is%20then%20used%20to%20auto-fill%20the%20username%20field%20everytime%20that%20person%20joins%20another%20meeting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20problem%20here%20is%20that%20the%20latest%20update%20not%20only%20saves%20the%20username%20itself%2C%20but%20also%20writes%20to%20inverted%20commas%20(%2522).%20This%20is%20a%20big%20problem%2C%20because%20ever%20time%20a%20user%20logs%20in%2C%20it%20adds%20another%20inverted%20comma%20and%20a%20%E2%80%9C%5C%E2%80%9D%20to%20make%20sure%20it%20doesn't%20get%20corrupted%20as%20simple%20text%20in%20Cookies.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EExample%20progress%3A%3C%2FP%3E%3CP%3E0%20meetings%20joined%20%E2%80%94%20%3CSTRONG%3ECookie%20content%3A%3C%2FSTRONG%3E%20%3CEM%3Eempty%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EUser%20joins%20meeting%20as%3A%20John%20(Guest)%3C%2FEM%3E%3C%2FP%3E%3CP%3E1%20meeting%20joined%20%E2%80%94%20%3CSTRONG%3ECookie%20content%3A%3C%2FSTRONG%3E%26nbsp%3B%3CEM%3E%2522John%2520(Guest)%2522%20%E2%80%94%20%22John%20(Guest)%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EUser%20joins%20meeting%20as%3A%20%22John%20(Guest)%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E2%20meetings%20joined%20%E2%80%94%20%3CSTRONG%3ECookie%20content%3A%3C%2FSTRONG%3E%20%3CEM%3E%2522%255C%2522John%2520(Guest)%255C%2522%2522%20%E2%80%94%20%22%5C%22John%20(Guest)%5C%22%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EUser%20joins%20meeting%20as%3A%20%22%5C%22John%20(Guest)%5C%22%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E3%20meetings%20joined%20%E2%80%94%20%3CSTRONG%3ECookie%20content%3A%3C%2FSTRONG%3E%20%3CEM%3E%2522%255C%2522%255C%2522John%2520(Guest)%255C%2522%255C%2522%2522%20%E2%80%94%20%22%5C%22%5C%22John%20(Guest)%5C%22%5C%22%22%3C%2FEM%3E%3C%2FP%3E%3CP%3Eetc.%2C%20etc.%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%26nbsp%3Bseveral%20meetings%2C%20we%20end%20having%20users%20as%20%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22John%20(Guest)%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%5C%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20the%20Microsoft%20Teams%20team%20can%20take%20a%20look%20into%20this%3F%3C%2FP%3E%3CP%3EThis%20is%20particularly%20serious%20for%20public%20meetings%20where%20the%20user%20name%20doesn't%20even%20fit%20the%20screen%20and%2C%20thus%2C%20is%20not%20visible.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2271517%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2276512%22%20slang%3D%22en-US%22%3ERe%3A%20URGENT%3A%20Anonymous%20usernames%20saved%20in%20browser%20cookies%20are%20being%20corrupted%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2276512%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1025396%22%20target%3D%22_blank%22%3E%40GoncaloCdM%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BNormally%20we%20ask%20that%20bug%20reports%20and%20feature%20requests%20get%20reported%20to%20our%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EUservoice%20feedback%20forum%3C%2FA%3E.%26nbsp%3B%20But%20I%20have%20shared%20your%20post%20directly%20with%20the%20PM%20for%20meetings.%26nbsp%3B%20Thank%20you%20for%20reporting%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Visitor

Recently, a simple yet terribly annoying bug is affecting everyone in the world.

 

When someone chooses to join a meeting using a browser, as Guest, Teams saves a cookie called “teamsAnonymousUserName.” This cookie is then used to auto-fill the username field everytime that person joins another meeting.

 

The problem here is that the latest update not only saves the username itself, but also writes two inverted commas (%22). This is a big problem because every time a user logs in, Teams adds another inverted comma and a “\” to the already existing inverted commas saved.

Cookie progress example:

0 meetings joined — Cookie content: empty

User joins meeting as: John (Guest)

1 meeting joined — Cookie content: %22John%20(Guest)%22 — "John (Guest)"

User joins meeting as: "John (Guest)"

2 meetings joined — Cookie content: %22%5C%22John%20(Guest)%5C%22%22 — "\"John (Guest)\""

User joins meeting as: "\"John (Guest)\""

3 meetings joined — Cookie content: %22%5C%22%5C%22John%20(Guest)%5C%22%5C%22%22 — "\"\"John (Guest)\"\""

etc., etc., etc.

 

After several meetings, we end up having users as "\"\"\"\"\"\"\"\"\"John (Guest)\"\"\"\"\"\"\"\"\"

 

Is there any way the Microsoft Teams team can take a look into this?

This is particularly serious for public meetings where the user name doesn't even fit the screen and, thus, is not visible (e.g. "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\…).

2 Replies

Hello @GoncaloCdM   Normally we ask that bug reports and feature requests get reported to our Uservoice feedback forum.  But I have shared your post directly with the PM for meetings.  Thank you for reporting it.

best response confirmed by ThereseSolimeno (Microsoft)
Solution

@ThereseSolimeno @GoncaloCdM Yes, we know about this bug and have a fix that is rolling out soon.