Open X-callback url through extra info

Open X-callback url through extra info

Postby Meng » Wed Nov 18, 2020 6:56 pm

Hi, I am trying to open a x-callback-url link (link consumer 1Writer) through extra info. The link works when I open it in Safari, but when opened in the exra info button, the 1Writer app complains file not found. Here is a sample link:

onewriter://x-callback-url/open?path=%2 ... %2Fbook.md
- When open in Safari, the correct file is opened i.e. /Dropbox/book_notes/book.md
- When open through the extra info button, 1write is opened, but just complains "file not found %2FDropbox%2Fbook_notes%2Fbook.md"
Meng
 

Re: Open X-callback url through extra info

Postby Ernie » Thu Nov 19, 2020 8:07 am

I'm not sure.

Instead of %2F, can you try the normal forward slash / to see if that solves it?
Ernie
Site Admin
 
Posts: 4652
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: Open X-callback url through extra info

Postby Meng » Thu Nov 19, 2020 11:49 am

Thanks!! That does the tricks. Looks like URL cannot be encoded.
Meng
 

Return to Comments, Questions and Feedback