Change default protocol from file to http



  • Problem: I connect to a web server on my local network by typing its name in the address field, e.g. "name"

    Current behavior: Vivaldi takes me to file://name which doesn't exist

    Expected behavior: Vivaldi takes me to http://name

    How do I change the default? I assume it can be changed since chrome resolves to http. All browsers (other than Vivaldi) resolve this to http://name. Thanks!



  • I can't replicate this. First off, search in address field has to be disabled of course. When I then input "name" I get http://name/. So the question is, why doesn't it work for you?

    Don't think I've changed any settings to enable this. Does it work for you on a fresh install? On what operating system are you, what version of Vivaldi?



  • I cant reproduce this on my local Apache.
    For me on my 1.11 Stable on Windows 10x64 a single name does not result in file://name
    It shows that page is unreachable DNS_PROBE_FINISHED_NXDOMAIN.

    Please explain how we can reproduce.



  • I can see that entering /name results in file:///name which is ok for a file path as this is a valid local URI.

    So i can not reproduce the user's problem with Vivaldi and his webserver.



  • One slash should be local, though if you're running a webserver on the same machine it becomes problematic.



  • @gwen-dragon how about double slash?
    These are valid http servers and I'm not running a file server under these domains.
    //index is an IIS website and //hq is a synology device, vivaldi changes it to file://index and file://hq, respectively



  • @amadeusw said in Change default protocol from file to http:

    @gwen-dragon how about double slash?

    As i remember RFC for URls a //name means as URI without a scheme is relative to current namespace.

    Vivaldi generates : file://name
    May be a bug :(
    But Opera 12 act similar.

    I will report. VB-32349 "Entering relative //xxxx URI in adressbar results in file://xxxx"

    @amadeusw said in Change default protocol from file to http:

    These are valid http servers and I'm not running a file server under these domains.
    //index is an IIS website and //hq is a synology device,

    if you use it in links on a webpage that works as designed and opens a URL.



  • @gwen-dragon Thanks for filing the bug.
    Here's a gif that demonstrates that typing who (even in http context) results in file:///who
    Moreover, typing //who:80 also redirects to file:///who:80, despite 80 being a well known http port

    0_1504896841687_2017-09-08_11h43_52.gif
    In the gif you see that the desired website with a dark background loads when I type http://who

    Workaround: In the meanwhile, I discovered that typing who/ with a trailing slash makes it use the http protocol. However, given that Vivaldi is a web browser and not file explorer, I think that defaulting to http is a reasonable choice.

    It's great that this bug doesn't happen for most folk here here, but since it happens on every machine I use, I'd be more than happy to provide logs or whatever is needed to track this bug down. Let me know how I can help.



  • @amadeusw said in Change default protocol from file to http:

    given that Vivaldi is a web browser and not file explorer, I think that defaulting to http is a reasonable choice.

    Yes, right! That is how it should be.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.