mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #339] '/' replaced with %252F in URL [Instagram] #211
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#211
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @f-holland on GitHub (Feb 24, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/339
Description:
My URL is being encoded and all the slashes ( / ) are being replaced with %252F.
Also, my colons ( : ) are being replaced with %253A. My code is just here:
https://hastebin.com/deninuloza.lua
OAuth Provider (Twitter, Github, ..):
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
8.0 (Swift 3.0)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
@ian-mcdowell commented on GitHub (Feb 24, 2017):
I'm having a similar issue. Seems to be caused by this commit.
@f-holland commented on GitHub (Feb 24, 2017):
Managed to get it working by just deleting the .urlEncodedString
I just expanded the OAuthSwift.xcodeproj and simply deleted the line in Sources/OAuth2Swift.swift
Command+F to find the queryString and re-ran my project and it's worked!
@ian-mcdowell commented on GitHub (Feb 24, 2017):
Yeah I've reverted my project to before that commit and it's working fine. @phimage, let's get this reverted if possible. It's breaking for me specifically with GitHub and GitLab APIs. Haven't tested any more yet, but I'm assuming it's broken for others as well.
@phimage commented on GitHub (Feb 24, 2017):
please don't close until issue fixed
yes I will revert (and put a boolean to encode)