diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go b/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go deleted file mode 100644 index 341e20d81..000000000 --- a/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go +++ /dev/null @@ -1,20 +0,0 @@ -package route53 - -import ( - "regexp" - - "github.com/awslabs/aws-sdk-go/aws" -) - -func init() { - initService = func(s *aws.Service) { - s.Handlers.Build.PushBack(sanitizeURL) - } -} - -var reSanitizeURL = regexp.MustCompile(`\/%2F\w+%2F`) - -func sanitizeURL(r *aws.Request) { - r.HTTPRequest.URL.Opaque = - reSanitizeURL.ReplaceAllString(r.HTTPRequest.URL.Opaque, "/") -} |