-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate url path cleaning during http request serialization #4832
Merged
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c1308d6
preserve IoT published topic slash
d107311
add changelog
afc6b87
optimize code
6e99df2
Merge remote-tracking branch 'origin/iot-topic' into iot-topic
e8df529
remove http request url path cleaning logic and deprecate setting
966f546
Merge branch 'main' into iot-topic
970e5a0
add unit test cases
16b4c86
modify changelog description
30b3388
modify changelog and remove deprecated setting usage
ceeb008
recover some deprecated func
2168800
recover some deprecated func
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id": "09dc2a79-0637-4b81-8a70-a25a4b238623", | ||
"type": "bugfix", | ||
"description": "remove url path cleaning logic during http request serialization and deprecate its setting", | ||
"modules": [ | ||
"." | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,6 +265,8 @@ type Config struct { | |
// Bucket: aws.String("bucketname"), | ||
// Key: aws.String("//foo//bar//moo"), | ||
// }) | ||
// Deprecated: DisableRestProtocolURICleaning exists for historical compatibility of | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this setting is now effectively useless, let's remove everything but the deprecation notice. Let's also reword to clarify the behavior now: |
||
// http request path cleaning setting and should not be used. | ||
DisableRestProtocolURICleaning *bool | ||
|
||
// EnableEndpointDiscovery will allow for endpoint discovery on operations that | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use the changelog tool in v1, you have to add an entry to
CHANGELOG_PENDING.md
.It should look something like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(to the
SDK Bugs
section)