Skip to content

Commit

Permalink
Allow calculations in the address bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Jan 2, 2024
1 parent 45424fd commit 537c817
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13057,8 +13057,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 100.0.1;
branch = "dominik/ipv4-parsing";
kind = branch;
};
};
AA06B6B52672AF8100F541C5 /* XCRemoteSwiftPackageReference "Sparkle" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "e9c344c15d550112d02853c07efeaa154e911e2b",
"version" : "100.0.1"
"branch" : "dominik/ipv4-parsing",
"revision" : "4dc0cf36c7be0d156d628881f788341ad35b3998"
}
},
{
Expand Down Expand Up @@ -147,7 +147,7 @@
{
"identity" : "trackerradarkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/TrackerRadarKit",
"location" : "https://github.com/duckduckgo/TrackerRadarKit.git",
"state" : {
"revision" : "a6b7ba151d9dc6684484f3785293875ec01cc1ff",
"version" : "1.2.2"
Expand Down
3 changes: 2 additions & 1 deletion UnitTests/Common/Extensions/URLExtensionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ final class URLExtensionTests: XCTestCase {
("test string with spaces", "https://duckduckgo.com/?q=test%20string%20with%20spaces"),
("http://💩.la:8080 ", "http://xn--ls8h.la:8080"),
("http:// 💩.la:8080 ", "https://duckduckgo.com/?q=http%3A%2F%2F%20%F0%9F%92%A9.la%3A8080"),
("https://xn--ls8h.la/path/to/resource", "https://xn--ls8h.la/path/to/resource")
("https://xn--ls8h.la/path/to/resource", "https://xn--ls8h.la/path/to/resource"),
("1.4/3.4", "https://duckduckgo.com/?q=1.4%2F3.4")
]

for (string, expected) in data {
Expand Down

0 comments on commit 537c817

Please sign in to comment.