[PR #133] [MERGED] Fix crash when intercepting URLSessionUploadTask. #159

Closed
opened 2026-03-03 19:12:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ProxymanApp/atlantis/pull/133
Author: @VaslD
Created: 7/20/2023
Status: Merged
Merged: 7/20/2023
Merged by: @NghiaTranUIT

Base: mainHead: fix/upload-optional-data


📝 Commits (1)

  • 2563561 Fix crash when intercepting URLSessionUploadTask.

📊 Changes

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

View changed files

📝 Sources/NetworkInjector+URLSession.swift (+4 -5)

📄 Description

Per https://developer.apple.com/documentation/foundation/urlsession/1411518-uploadtask, body data parameter may be null.

This PR should fix https://github.com/ProxymanApp/atlantis/issues/132.


🔄 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/ProxymanApp/atlantis/pull/133 **Author:** [@VaslD](https://github.com/VaslD) **Created:** 7/20/2023 **Status:** ✅ Merged **Merged:** 7/20/2023 **Merged by:** [@NghiaTranUIT](https://github.com/NghiaTranUIT) **Base:** `main` ← **Head:** `fix/upload-optional-data` --- ### 📝 Commits (1) - [`2563561`](https://github.com/ProxymanApp/atlantis/commit/2563561780ffbb168c0b11d07869350791b8aef4) Fix crash when intercepting URLSessionUploadTask. ### 📊 Changes **1 file changed** (+4 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Sources/NetworkInjector+URLSession.swift` (+4 -5) </details> ### 📄 Description Per https://developer.apple.com/documentation/foundation/urlsession/1411518-uploadtask, body data parameter may be null. This PR should fix https://github.com/ProxymanApp/atlantis/issues/132. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 19:12:10 +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/atlantis#159
No description provided.