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

decode('quoted-printable') Causes UUIDs in email body to deserialize incorrectly #16

Open
Cumminsc9 opened this issue May 23, 2018 · 0 comments

Comments

@Cumminsc9
Copy link

Cumminsc9 commented May 23, 2018

When calling Get Email Body I expect it to return the body of the email as can be seen in the original email source. However, due to the call decode('quoted-printable') I get back a corrupted UUID and parameter. In the included case below, the parameter userIds operator = has been replaced with ! and some of the beginning characters of the UUID have been truncated causing the test to fail.

Simply removing the decode('quoted-printable') causes the userId parameter and UUID to be parsed as expected, and the test to pass successfully. Raising the question what is the reasoning behind decode('quoted-printable')?

What I get back when calling Get Email Body ${latest}

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
	<body>
		<span><a href="duesday://verify/me/email?code=12345&userId!f95bac-0c3e-4dbc-8153-70e297a81f7f">Confirm email address</a></span>
	</body>
</html>

What I expect when calling Get Email Body ${latest}

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
	<body>
		<span><a href="duesday://verify/me/email?code=12345&userId=21f95bac-0c3e-4dbc-8153-70e297a81f7f">Confirm email address</a></span>
	</body>
</html>
@Cumminsc9 Cumminsc9 changed the title decode('quoted-printable') Causes UUIDs in email body to parse incorrectly decode('quoted-printable') Causes UUIDs in email body to deserialize incorrectly May 23, 2018
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

1 participant