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

Document port number escaping in URL for $resource #1672

Closed
wants to merge 2 commits into from
Closed

Document port number escaping in URL for $resource #1672

wants to merge 2 commits into from

Conversation

jsyrjala
Copy link
Contributor

@jsyrjala jsyrjala commented Dec 7, 2012

Related to issues #1664, #1243 and #942. Also fixed one typo.

Related to issues #1664, #1243 and #942. Also fixed one typo.
@@ -19,11 +19,13 @@
* the need to interact with the low level {@link ng.$http $http} service.
*
* @param {string} url A parameterized URL template with parameters prefixed by `:` as in
* `/user/:username`.
* `/user/:username`. If you are using URL with a port number (e.g. `http://example.com:8080/api`),
* you'll need to escape colon character before the port number, like this:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight nitpicks: "a URL" instead of "URL" and "the colon" instead of "colon"

Rest looks good, thanks for opening this PR!

@pkozlowski-opensource
Copy link
Member

Thanks for your contribution! In order for us to be able to accept it, we ask you to sign our CLA (contributor's license agreement).

CLA is important for us to be able to avoid legal troubles down the road.

For individuals (a simple click-through form):
http://code.google.com/legal/individual-cla-v1.0.html

For corporations (print, sign and scan+email, fax or mail):
http://code.google.com/legal/corporate-cla-v1.0.html

@jsyrjala
Copy link
Contributor Author

jsyrjala commented Dec 9, 2012

I just did the CLA.

@pkozlowski-opensource
Copy link
Member

@jsyrjala perfect, going to merge this one later today.

@pkozlowski-opensource
Copy link
Member

Squashed 2 commits into one, changed the commit message and landed it as c398d7d. Thank you!

@SamJoan
Copy link

SamJoan commented Aug 13, 2013

this is good, thanks! it's obvious if you think about it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants