groupdocs 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v1.5.3
2
+
3
+ **Changes**
4
+
5
+ * Fixes critical issue with unauthorized requests.
6
+
1
7
  ## v1.5.2
2
8
 
3
9
  **Changes**
@@ -55,11 +55,11 @@ module GroupDocs
55
55
  #
56
56
  def prepare_and_sign_url
57
57
  unless @signed
58
+ # the order is important here and if client_id is replaced after path
59
+ # is encoded, there might be bad requests
60
+ replace_client_id if @options[:sign]
58
61
  url_encode_path
59
- if @options[:sign]
60
- replace_client_id
61
- sign_url
62
- end
62
+ sign_url if @options[:sign]
63
63
  @signed = true
64
64
  end
65
65
 
@@ -1,3 +1,3 @@
1
1
  module GroupDocs
2
- VERSION = '1.5.2'
2
+ VERSION = '1.5.3'
3
3
  end # GroupDocs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-12 00:00:00.000000000 Z
12
+ date: 2013-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -518,7 +518,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
518
518
  version: '0'
519
519
  segments:
520
520
  - 0
521
- hash: -387405820343720388
521
+ hash: 1449508426304802308
522
522
  required_rubygems_version: !ruby/object:Gem::Requirement
523
523
  none: false
524
524
  requirements:
@@ -527,7 +527,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
527
527
  version: '0'
528
528
  segments:
529
529
  - 0
530
- hash: -387405820343720388
530
+ hash: 1449508426304802308
531
531
  requirements: []
532
532
  rubyforge_project:
533
533
  rubygems_version: 1.8.23