[PR #197] [MERGED] Remove first char from query string when needed #559

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

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/197
Author: @NSURLSession0
Created: 2/24/2016
Status: Merged
Merged: 2/25/2016
Merged by: @phimage

Base: masterHead: Remove_first_char_from_query_string_when_needed


📝 Commits (1)

  • 53d3f7e Remove first character from query string when it starts with the element seperator

📊 Changes

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

View changed files

📝 OAuthSwift/String+OAuthSwift.swift (+7 -1)

📄 Description

I use OAuthSwift with an OAuth 1 API. The API returns a query string which starts with an &-symbol. Because of this, the first key will be parsed as '&oauth_token'.
This pull request fixes this problem.


🔄 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/197 **Author:** [@NSURLSession0](https://github.com/NSURLSession0) **Created:** 2/24/2016 **Status:** ✅ Merged **Merged:** 2/25/2016 **Merged by:** [@phimage](https://github.com/phimage) **Base:** `master` ← **Head:** `Remove_first_char_from_query_string_when_needed` --- ### 📝 Commits (1) - [`53d3f7e`](https://github.com/OAuthSwift/OAuthSwift/commit/53d3f7ec1bf4826b546900892767b322c3933abd) Remove first character from query string when it starts with the element seperator ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwift/String+OAuthSwift.swift` (+7 -1) </details> ### 📄 Description I use OAuthSwift with an OAuth 1 API. The API returns a query string which starts with an &-symbol. Because of this, the first key will be parsed as '&oauth_token'. This pull request fixes this problem. --- <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:26 +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#559
No description provided.