Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat($browser): add cookie options plus ability to skip encoding #6507

Closed
wants to merge 1 commit into from
Closed

feat($browser): add cookie options plus ability to skip encoding #6507

wants to merge 1 commit into from

Conversation

longoria
Copy link

@longoria longoria commented Mar 1, 2014

This change will add the expires, path, domain, and secure options for persisting cookies.
It will also add the ability to skip encoding of cookie name and value.

This change will not alter the existing API behavior.
Instead it will expose the new behavior in two new methods.

There is a smaller changeset for a subset of the work done in this pull request here: #6335

In addition to #6335, this pull request:

  • Adds a separate API that the existing cookies method utilizes
  • Adds an option to skip encoding for cookie name and value
  • Adds additional unit tests to verify new behavior

This pull request would replace the need for #6335

Closes #950

@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#6507)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@longoria longoria added cla: yes and removed cla: no labels Mar 2, 2014
This change will add the expires, path, domain, and secure options for persisting cookies.
It will also add the ability to skip encoding of cookie name and value.

This change will not alter the existing API behavior.
Instead it will expose the new behavior in two new methods.

There is a smaller changeset for a subset of the work done in this pull request here: #6335

In addition to #6335, this pull request:
- Adds a separate API that the existing cookies method utilizes
- Adds an option to skip encoding for cookie name and value
- Adds additional unit tests to verify new behavior

This pull request would replace the need for #6335

Closes #950
@longoria
Copy link
Author

longoria commented Mar 3, 2014

First-time PR with AngularJS. Please let me know anything that needs changed, or any suggestions or constructive criticism. Thanks!

@longoria
Copy link
Author

longoria commented Mar 5, 2014

@matsko , I'm going to end up below the fold into the backlog. 😄 What can I do to get my PR reviewed? Thanks.

@btford btford added this to the Backlog milestone Mar 17, 2014
@stevermeister
Copy link
Contributor

👍

@Narretz
Copy link
Contributor

Narretz commented Jun 11, 2015

Cookies has been refactored, all options are now supported. Skipping encoding is not supported - this could be done in a new PR, but I am not sure if it's really needed.

@Narretz Narretz closed this Jun 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

More powerful $cookies service
7 participants