cheminfo / cheminfo/openchemlib-js

[WebComponent] idcode can contain invalid character for UVString

Open
#236 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
89
Forks
25
Avg merge
51m
Merged PRs (30d)
1

Description

`\u007F` for example.

Should we html encode/decode the idcode attribute ? Or use JSON.stringify/parse

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the WebComponent code that reads and writes the idcode attribute, then reproduce the issue with an idcode containing \u007F. Compare the proposed HTML encoding/decoding and JSON serialization approaches, and consider the issue done when idcodes with invalid UVString characters round-trip correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.