Public bug reported:

Description:    Ubuntu 16.04.3 LTS
Release:        16.04
midori/xenial,now 0.5.11-ds1-2 i386
XFCE 4.12.0

maybe it's a 'current' limitation, not bug. but other browser normally
doesn't have this.

in terminal:

> midori "file:///home/user/some dir/some/another/dir/afile.html"
or
> midori file:///home/user/some\ dir/some/another/dir/afile.html
or
> midori "file:///home/user/some\ dir/some/another/dir/afile.html"

returns "[invalid UTF-8]" in midori tab

> midori file:///home/user/some dir/some/another/dir/afile.html

will go to page "http://dir/some/another/dir/afile.html"; which (of
course) cannot be found.

if in midori's address bar I put:

file:///home/user/some dir/some/another/dir/afile.html
or
"file:///home/user/some dir/some/another/dir/afile.html"

will do search for file:///home/user/some
dir/some/another/dir/afile.html with the search engine, which of course
it contains the user path. I don't know how dangerous it is...


so, it can only work with:

in terminal:

> midori file:///home/user/some%20dir/some/another/dir/afile.html
or
> midori "file:///home/user/some%20dir/some/another/dir/afile.html"

both in address bar only:
file:///home/user/some%20dir/some/another/dir/afile.html
if I used "file:///home/user/some%20dir/some/another/dir/afile.html" (with 
double quote)
midori will ask what application to open the file (the html file. of course 
it's you, midori!)
but the page loaded anyway. or if the page already loaded in another tab, it 
will close the current tab.

in other browser, space character automatically converted to %20, and
have no strange behaviour like this.

** Affects: midori (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1724676

Title:
  can't work with space in address bar and command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/midori/+bug/1724676/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to