-
Bear Version:
-
2.4.4
-
OS Version:
-
14.0
-
What were you doing:
Calling create API to create a note from HTML with a base 64 encoded image -
What feature did you use:
API -
What happened:
crash -
What did you expect to happen:
Not crash. Create a note with the image.
bear://x-callback-url/create?
title=Note%20With%20Image&
text=%3Cp%3EThis%20note%20contains%20an%20image%3A%3C%2Fp%3E%3Cimg%20src%3D%22image.png%22%20%2F%3E&
type=html&
file=iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAA…&
filename=image.png
Note the base64 encoding is cut off. (i.e. url is malformed)