mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Merge pull request #1927 from Wevah/mac-release
Revert "Allow special characters in the add feed URL. Issue #1862"
This commit is contained in:
@@ -100,13 +100,7 @@ class AddFeedWindowController : NSWindowController {
|
||||
cancelSheet()
|
||||
return;
|
||||
}
|
||||
|
||||
guard let encodedString = normalizedURLString.addingPercentEncoding(withAllowedCharacters: .urlFragmentAllowed) else {
|
||||
cancelSheet()
|
||||
return;
|
||||
}
|
||||
|
||||
guard let url = URL(string: encodedString) else {
|
||||
guard let url = URL(string: normalizedURLString) else {
|
||||
cancelSheet()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user