[PR #56] [MERGED] fix code extraction for webview #500

Closed
opened 2026-03-03 16:49:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/56
Author: @corinnekrych
Created: 4/29/2015
Status: Merged
Merged: 5/1/2015
Merged by: @dongri

Base: masterHead: swift1.2.fix.code.extraction


📝 Commits (1)

  • 39d52c8 fix code extraction for webview

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 OAuthSwift/OAuth2Swift.swift (+1 -1)

📄 Description

When working with WebView test the url fragment is not nil AND is not an empty string. Since Swift 1.2 a cast is done in String that can now contains empty string.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/OAuthSwift/OAuthSwift/pull/56 **Author:** [@corinnekrych](https://github.com/corinnekrych) **Created:** 4/29/2015 **Status:** ✅ Merged **Merged:** 5/1/2015 **Merged by:** [@dongri](https://github.com/dongri) **Base:** `master` ← **Head:** `swift1.2.fix.code.extraction` --- ### 📝 Commits (1) - [`39d52c8`](https://github.com/OAuthSwift/OAuthSwift/commit/39d52c846ee1cff4376c547231e650e1f10d6401) fix code extraction for webview ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwift/OAuth2Swift.swift` (+1 -1) </details> ### 📄 Description When working with WebView test the url fragment is not nil AND is not an empty string. Since Swift 1.2 a cast is done in String that can now contains empty string. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:49:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#500
No description provided.