[PR #125] [CLOSED] Fix crash where there is no data in the response. #529

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

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/125
Author: @erndev
Created: 10/9/2015
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • be13e62 Fix crash where there is no data in the response.

📊 Changes

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

View changed files

📝 OAuthSwift/OAuthSwiftHTTPRequest.swift (+5 -0)

📄 Description

check for valid data, and if it's null, return calling the failure closure.


🔄 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/125 **Author:** [@erndev](https://github.com/erndev) **Created:** 10/9/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`be13e62`](https://github.com/OAuthSwift/OAuthSwift/commit/be13e62289e0a8ae7067858a5db5edf8738c2ad0) Fix crash where there is no data in the response. ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwift/OAuthSwiftHTTPRequest.swift` (+5 -0) </details> ### 📄 Description check for valid `data`, and if it's null, return calling the failure closure. --- <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:18 +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#529
No description provided.