Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d3e206

Browse files
author
Peter Williams
committed
More word smithing of gist comment uris changes post
1 parentc9b955a commit9d3e206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎content/changes/2012-10-31-gist-comment-uris.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ author_name: pezra
77

88
The URIs of all gist comments are changing immediately. The new URI pattern for gist comments is`/gists/{gist-id}/comments/{id}`. (See[gist comments section of the docs](/v3/gists/comments/) for more details.) This change is necessary because the auto-incremented ids of gist comments are easy to guess. This predictability allows anyone to view comments on private Gists with relative ease. Obviously, comments on private gists should be just as private as the gist itself.
99

10-
Adding theid of thegist id to the URI makes it impossible, in practical terms, becausethat idis avery large randomnumber. This is, unfortunately, a breaking change but one that cannot be avoided because of the security implications of the current URIs. We apologize for the inconvenience.
10+
Adding the gist id to the URIof commentsmakes it impossible, in practical terms,to guess the URI of abecausethe idof private gists arevery large randomnumbers. This is, unfortunately, a breaking change but one that cannot be avoided because of the security implications of the current URIs. We apologize for the inconvenience.
1111

12-
For your convenience wehave also added a`comments_url` member to the Gist documents. The`comments_url` link provides access to the comments of a Gist in a way thatis resilient to changes in the URI patterns used by the GitHub API. We are increasing our use of links in order to make changes such as this one less damaging to clients. We strongly encourage using`url` and`*_url` properties, where possible, rather than constructing URIs using the patterns published on this site. Doing so will result in clients that break less often.
12+
Wehave also added a`comments_url` member to the Gist documents. The`comments_url` link provides access to the comments of a Gist in a way thatwill insulate clients from changes in the URI patterns used by the GitHub API. We are increasing our use of links in order to make changes such as this one less damaging to clients. We strongly encourage using`url` and`*_url` properties, where possible, rather than constructing URIs using the patterns published on this site. Doing so will result in clients that break less often.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp