DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.73k stars 1.43k forks source link

Using Copy button from decoded Base64 conversion breaks MySQL workbench #827

Open HereticalCrown opened 1 year ago

HereticalCrown commented 1 year ago

Current behavior

Currently upon decoding a Base64 text I copy using the "Copy" button and then paste into MySQL workbench authentication Window, this then fails to authenticate and errors. But if I highlight the decoded value manually and "CTRL + C" then paste it authenticates correctly.

How to reproduce it (as minimally and precisely as possible)

Steps to Reproduce

  1. Use AWS and copy a base encoded password
  2. Use DevToys to decode the password
  3. Use the Copy button
  4. Navigate to MySQL Workbench
  5. Select a Database to log into
  6. Paste decoded password into password field
  7. Select to log in

Actual Result An error appears stating I am unauthenticated

Expected behavior

I am logged in without issue

Screenshots

No response

Workaround

Manually highlight the decoded value and "CTRL + C" then paste the value

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 1.0.12.0 | X64 | RELEASE | 94bb8213 | 94bb8213

Relevant Assets/Logs

No response

veler commented 1 year ago

Hi, Thank you for sharing this feedback. Are you able to tell whether DevToys adds an extra character such as a whitespace at the end of the copied text?

HereticalCrown commented 1 year ago

Good Morning,

I can only see a new line is entered when I paste it into notepad++.

[cid:FallingBarssmallsignatureusesize_900406da-a378-44a1-8732-3016d295d4e8.png] Kyle Parris Test Engineer +44(0) 845 166 1165

[cid:Logo-300x80px-transparent_20ae4b40-67c9-4e1e-b95a-72a9900c1430.png]

Suite 8, The Works 20 West Street Unity Campus Cambridge, CB22 3FT www.getbusy.comhttp://www.getbusy.com This e-mail and all attachments ("e-mail") is private and confidential. If you receive the e-mail in error, let us know by reply e-mail, delete it from your system and destroy all copies. The e-mail is the property and confidential information of GetBusy PLC, or one of its related companies. GetBusy PLC does not warrant that the information in the e-mail is error or omission free.This e-mail is not a quotation or proposal and no contractual obligations shall arise. From: Etienne BAUDOUX @.> Sent: Wednesday, May 31, 2023 3:43 AM To: veler/DevToys @.> Cc: Kyle Parris @.>; Author @.> Subject: [External] - Re: [veler/DevToys] Using Copy button from decoded Base64 conversion breaks MySQL workbench (Issue #827)

CAUTION: This email originated outside your organization. Do not click links or open attachments unless you recognize the sender.

Hi, Thank you for sharing this feedback. Are you able to tell whether DevToys adds an extra character such as a whitespace at the end of the copied text?

- Reply to this email directly, view it on GitHubhttps://github.com/veler/DevToys/issues/827#issuecomment-1569415495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMLDSN5SNXIX5ZOYLJIDWLLXI2V45ANCNFSM6AAAAAAYT7EWWI. You are receiving this because you authored the thread.Message ID: @.**@.>>