Skip to content

incorrect extraction of Token when JSON like string is present in a nested property #13

@dnitsch

Description

@dnitsch

When a type includes a nested string that is a JSON marshall-able and includes escape characters - the token finder incorrectly stops at the escaped \" sign as opposed to the first \ in this escape sequence \\\"

"{\"patchPayloadTemplate\":\"{\\\"password\\\":\\\"AWSPARAMSTR:///int-test/pocketbase/admin-pwd\\\",\\\"passwordConfirm\\\":\\\"AWSPARAMSTR:///int-test/pocketbase/admin-pwd\\\"}\\n\"}"

Should correctly only extract the AWSPARAMSTR:///int-test/pocketbase/admin-pwd and NOT AWSPARAMSTR:///int-test/pocketbase/admin-pwd\\

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions