fossasia / meilix-generator

WebApp for generating a custom ISO image based on Meilix http://meilix.org
GNU Lesser General Public License v3.0
1.53k stars 113 forks source link

Browser Home Page accepts wider variety of URLs #364

Closed PulkitMishra closed 5 years ago

PulkitMishra commented 5 years ago

Checklist

Short description of what this resolves:

Solves issue #331 Browser Home page input field now accepts urls with or without https As @imahumanrcw pointed out and @meets2tarun @sarnava1 seemed to agree that people normally enter 'www.google.com' instead of 'https://www.google.com/' (just an example) so the website must take that into account people entering the former type of url also.

Changes proposed in this pull request:

Fixes #331

Preview

PulkitMishra commented 5 years ago

@pranav1698 I had provided the wrong link in preview initially, apologies for the same . Please check now. Also by all url inputs do you mean the one for default search engine? If that is the case consider it done.

PulkitMishra commented 5 years ago

@pranav1698 seems to work. Please check. Although I don't quite understand, pattern is supposed to override input type. Nonetheless, your suggestion works as required.

pranav1698 commented 5 years ago

@rpotter12 it works for me, www.google.com is accepted in my case

PulkitMishra commented 5 years ago

@rpotter12 could you please recheck? Works fine for me.

PulkitMishra commented 5 years ago

@rpotter12 done.