Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebComponent] idcode can contain invalid character for UVString #236

Open
tpoisseau opened this issue Oct 17, 2024 · 4 comments
Open

[WebComponent] idcode can contain invalid character for UVString #236

tpoisseau opened this issue Oct 17, 2024 · 4 comments

Comments

@tpoisseau
Copy link
Contributor

\u007F for example.

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

@targos
Copy link
Member

targos commented Oct 17, 2024

Here's an example idcode JoB@@BUJssoPvxPTA@@@FFpaUpriv\u007FDsP

@tpoisseau
Copy link
Contributor Author

How do you obtain this idcode ?

@targos
Copy link
Member

targos commented Oct 17, 2024

I copied it from DruglikenessPredictor.java

@tpoisseau
Copy link
Contributor Author

tpoisseau commented Oct 17, 2024

OK So it's in a Java source string.
Here a TSV of idcode as first column and increment for second column.

Before adding encoding for idcode attribute. I'll need to check how behave JS DOM code like element.setAttribute("test", "JoB@@BUJssoPvxPTA@@@FFpaUpriv\u007FDsP")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants