Problem with url scheme with a number in the project name

What I did: Ran this shortcut url scheme to create a note “test” inside the project “Chapter 1”
agenda://x-callback-url/create-note?project-title=Chapter%201&title=test

What happened: Agenda did not create the note in the project

What I expected: That notes are created inside the project “Chapter 1"

Things that might be helpful to know (Agenda version, OS and model, etc):

  • iPadOS 14.4 Beta
  • Agenda 12 Beta
  • This did not happen if the project name is “Chapter” or “Chapter1”. I suspect having a standalone numeric value at the end is the cause of the bug.

If I use the link in a browser it works fine, so it means the issue is not at Agenda’s end. My suspicion is that you are doing double encoding, i.e. you prefill the %20 but a subsequent step does another encoding on top, resulting in the % sign to be encoded again.