swagger-api/swagger-codegen
Ver no GitHubSwift GET parameters are not URL encoded
Open
#3.037 aberto em 3 de jun. de 2016
Client: SwiftIssue: Bughelp wanted
Métricas do repositório
- Stars
- (12.701 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Description
Generated Swift clients do not URL-encode GET parameters. This must be done if a GET parameter contains characters like slash ('/') or pipe ('|')
Swagger-codegen version
Swagger 2.2.0
Suggest a Fix
URL-encode all parameters by calling object.stringByAddingPercentEncodingWithAllowedCharacters(.URLHostAllowedCharacterSet())