mirror of
https://github.com/makeworld-the-better-one/amfora.git
synced 2024-09-11 14:55:51 +03:00
parent
7db8a8a819
commit
1540e4f561
@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
- Don't use cache when URL is typed in bottom bar (#159)
|
||||
- Fix downloading of pages that are too large or timed out
|
||||
- `about:` URLs can be typed into the bottom bar (#167)
|
||||
|
||||
|
||||
## [1.7.2] - 2020-12-21
|
||||
|
@ -200,7 +200,7 @@ func Init(version, commit, builtBy string) {
|
||||
// Detect if it's a search or URL
|
||||
if (strings.Contains(query, " ") && !hasSpaceisURL.MatchString(query)) ||
|
||||
(!strings.HasPrefix(query, "//") && !strings.Contains(query, "://") &&
|
||||
!strings.Contains(query, ".")) {
|
||||
!strings.Contains(query, ".")) && !strings.HasPrefix(query, "about:") {
|
||||
// Has a space and follows regex, OR
|
||||
// doesn't start with "//", contain "://", and doesn't have a dot either.
|
||||
// Then it's a search
|
||||
|
Loading…
Reference in New Issue
Block a user