We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If content exceeds 900 bytes:
In the link tag: it ends with … (unicode char) as a hint
…
Full content is stored in the extra Entry under the key __FULL_TRUST_ATOM_CONTENT__
extra
__FULL_TRUST_ATOM_CONTENT__
eg: extra is equal to { "__FULL_TRUST_ATOM_CONTENT__": "abcdefg....", ... }
Validation error if user passes in extra hash with __FULL_TRUST_ATOM_CONTENT__ as top level key
eg: if user sends us an extra hash with: { "__FULL_TRUST_ATOM_CONTENT__": "zzzzz....", ... } and they also send content > 900 bytes: "aaaa..."
let's have a test that pushes in 1000 bytes of content, and:
ensure that we get an extra hash in the link tag retrieve the content from the extra entry and validate that it is correct
The text was updated successfully, but these errors were encountered:
from discussion:
trustatom::create_trust_atom( target: string version of EntryHash // TBH would be better to be more readable thing content: string // semantic value: number as string // scalar extra: { foo: "bar", bar2: "baz", baz2: 333 } // valid extra: { {foo: "bar"}, bar2: "baz", baz2: 333 } // invalid extra: [ "foo" ] // invalid )
Sorry, something went wrong.
dauphin3
Successfully merging a pull request may close this issue.
Feature
If content exceeds 900 bytes:
In the link tag: it ends with
…
(unicode char) as a hintFull content is stored in the
extra
Entry under the key__FULL_TRUST_ATOM_CONTENT__
Validation error if user passes in
extra
hash with__FULL_TRUST_ATOM_CONTENT__
as top level keylet's have a test that pushes in 1000 bytes of content, and:
ensure that we get an extra hash in the link tag
retrieve the content from the extra entry and validate that it is correct
The text was updated successfully, but these errors were encountered: