NewStringData() can accept special chars (data separator) that creates conflict while reading data

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
data

Research direction

Start with schema/data/utilities/string_test.go at lines 48-49 and trace NewStringData through the data-reading path. Confirm how the separator is interpreted and clarify whether the intended fix is rejecting special characters or encoding the data; done means the chosen behavior is covered by a regression test.

Written by the indexing model from the issue text.

Description

https://github.com/AssetMantle/modules/blob/790452b6c1f9886bfbadecccd4b352cb452f6734/schema/data/utilities/string_test.go#L48-L49

We can some kind of basic encryption to avoid it, like base64 for handling Data, or should not allow special chars in Data

Dominant language
Go
Stars
21
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from AssetMantle/modules

All issues in AssetMantle/modules

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.