microsoft / microsoft/msstore-cli

`msstore submission get` outputs invalid JSON for non-Latin listings

Open
#142 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
163
Forks
22
Avg merge
5d 6h
Merged PRs (30d)
10

Description

msstore submission get produces invalid JSON when the app has listings with Cyrillic characters (e.g. sr-cyrl-rs).

The output contains:

  • Bare backslashes not followed by valid JSON escape characters (e.g. in Keywords)
  • Invalid Unicode escape sequences such as \u 04 (space between \u and the hex digits)

This causes ConvertFrom-Json to fail with:

Bad JSON escape sequence: \. Path 'Listings.sr-cyrl-rs.BaseListing.Keywords[3]'
Invalid Unicode escape sequence: \u 04. Path 'Listings.sr-cyrl-rs.BaseListing.Description'

Making it impossible to pipe submission get into submission updateMetadata as documented.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the msstore submission get command and reproduce the issue with a listing containing Cyrillic characters such as sr-cyrl-rs. Verify that its output parses with PowerShell ConvertFrom-Json and can be piped into submission updateMetadata, including keywords and descriptions with backslashes and Unicode characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.