Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Brave can't handle URLs with whitespace in it #3167

Closed
@Sh1d0w

Description

Did you search for similar issues before submitting this one?

Yes.

Describe the issue you encountered:
If you try to visit url, which has whitespace in it, Brave will assume you want to search via your default engine, not matter that the url starts with http or https. How I discovered this was just simply uploading an image with whitespace in it to postimage for another issue here. The generated url was this:

https://s10.postimg.org/snp1s3aah/Screenshot+from 2016-08-13 17-50-27.png

Now if you past this url in Chrome or FF they will actually visit this url, in Brave I get my default search engine queried.

I have rised a PR to fix this behaviour.

Expected behavior:
When I paste this url https://s10.postimg.org/snp1s3aah/Screenshot+from 2016-08-13 17-50-27.png in the url bar I expect to see the image.

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Every platform.
  • Brave Version:
    0.11.4
  • Steps to reproduce:
    1.Paste https://s10.postimg.org/snp1s3aah/Screenshot+from 2016-08-13 17-50-27.png in the url bar
    1. Hit eneter
  • Screenshot if needed:
  • Any related issues:

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions