fsnotes icon indicating copy to clipboard operation
fsnotes copied to clipboard

Pasting a URL with encoded URL parameter results in unexpected changes

Open gingerbeardman opened this issue 3 years ago • 4 comments

Description

I have a URL which takes an encoded URL as parameter. Pasting this into FSNotes results in the parameter URL being changed.

To Reproduce

  1. paste the following URL into a note https://www.example.com/?url=https%3A%2F%2Fexample.com%2Fp%3Dtest
  2. it is unescaped to the following: parameter URL contains both :// and %3A%2F%2F https://www.example.com/?url=https://%3A%2F%2Fexample.com%2Fp%3Dtest

Expected behavior

  • text should remain as pasted

FSNotes version

5.3.5 (514)

macOS/iOS version

12.2 (21D49)

Additional context

No response

gingerbeardman avatar Feb 10 '22 15:02 gingerbeardman

Hi, Matt, I am trying but no any changes in url. Can you record a video? I will be grateful.

glushchenko avatar Apr 17 '22 13:04 glushchenko

Here we go

https://user-images.githubusercontent.com/49612/163721949-67b8650b-4f42-4888-9632-58b99aea3f1e.mov

My text area "substitutions" settings Screen shot 2022-04-17 at 16 46 24

gingerbeardman avatar Apr 17 '22 15:04 gingerbeardman

Same with substitutions:

https://user-images.githubusercontent.com/1089917/167186442-157ac21c-42b4-42ca-92c8-19b972bdd0c4.mov

glushchenko avatar May 06 '22 17:05 glushchenko

I can't reproduce this, either. I'd ask where you are copying from, but the screen recording shows the text changing after insertion, so it must be something in the OS.

tewe avatar Jun 12 '22 13:06 tewe