Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2962] Can't add Cookies containing Base64 encoded strings in iOS SDK

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-12-21T21:30:18.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelshttpclient
ReporterTim Ebenezer
AssigneePaul Dowsett
Created2011-12-10T16:48:56.000+0000
Updated2016-03-08T07:47:57.000+0000

Description

Line 433 in TiNetworkHTTPClientProxy.m splits on '=' char and checks that there's only one component as such - so you can pass in cookies in the form =, all well and good. However, where the cookie value is Base64 encoded (required for some Authentication schemes), this may throw an error - since Base64 strings can contain the '=' char.

Comments

  1. Paul Dowsett 2011-12-21

    Thank you for raising this ticket. It seems like a reasonable request. If you are able to provide all the information described in the [JIRA Ticket Checklist](http://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) guidelines, *in the correct fields and using the right format*, I will be able to escalate it to the core team. Please click *edit* to amend the body of the ticket, rather than adding a comment. I will mark this resolved for now. Please reopen when the ticket is complete. Thanks in advance.
  2. Paul Dowsett 2012-02-17

    Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance

JSON Source