4
  • Spaces in URL file path (as opposed to query string) are escaped by +, rather than %20 when copying from the URL bar

  • BugsDesktopDone

Steps to reproduce:

  1. Browse to a URL which contains a space in the folder structure or file path (i.e. not a query string)
  2. Notice that Orion escapes the space with a + symbol, which is incorrect and not matching how other browsers and the standards work.
  3. Copy-paste the URL to another browser (or Orion), and notice that the page will not load, as + is not a correct escape for the space symbol in a file path or name.

Example:

https://crawler-test.com/urls/url_with_spaces/URL with spaces

This page appears to return a hash of the URL or query given. In Orion, it gives "5iencUdtzWXL16mjp7cD" on an intial load - the same as Safari, Firefox etc.

Copy the URL, paste it in another tab, and you will get "0/2Hg0eect0wDiyUk4Ch", indicating a different URL, as the URL has been escaped (during the copy) with the plus symbol.

Expected behavior:

  • Spaces in URL that are before a query parameter should be escaped as %20 during a copy/paste operation, rather than a + symbol.

Ref: https://stackoverflow.com/questions/1211229/in-a-url-should-spaces-be-encoded-using-20-or/1211256#1211256

    Cannabat

    Aha good point - the forum is not handling the links correctly (or rather it is handling them correctly, links shouldn't contain unescaped spaces). I will put them in as code blocks rather than links.

      21 days later
      2 years later
      a month later

      To reproduce:

      Using: Version 0.99.132-beta (WebKit 621.1.2.111.4)
      Navigate to: https://pvp.giustizia.it/pvp/it/detail_annuncio.page?idAnnuncio=4334419
      Menubar → Tools → Translate with Kagi
      Result: Navigates to https://translate.kagi.com/translate/https://pvp.giustizia.it/pvp/it/detail_annuncio.page?idAnnuncio=4334419 (website fails to load announcement due to missing GET parameter)

      Expected: https://translate.kagi.com/translate/https://pvp.giustizia.it/pvp/it/detail_annuncio.page%3FidAnnuncio=4334419

      Version 0.99.132-beta (WebKit 621.1.2.111.4)

      Sonoma (14)

        Merged 1 post from Orion's "Translate with Kagi" menu item does not urlencode the address.
          No one is typing