Sha256: 339caa2132e53de25140faef271ed72db5c7a5c33a51a0155e23c98a52dfd5dc

Contents?: true

Size: 1.31 KB

Versions: 36

Compression:

Stored size: 1.31 KB

Contents

Feature: User input shouldn't be symbolized

  Background:
    Given a configuration of:
    """
      ActiveAdmin.register Post
    """
    Given I am logged in
    And 1 post exists

  Scenario: The dashboard doesn't leak
    Given I am on the dashboard with params "?really_long_malicious_key0"
    Then "really_long_malicious_key0" shouldn't be a symbol

  Scenario: The index page doesn't leak
    Given I am on the index page for posts with params "?really_long_malicious_key1"
    Then "really_long_malicious_key1" shouldn't be a symbol

  @allow-rescue
  Scenario: The filter query hash doesn't leak
    Given I am on the index page for posts with params "?q[really_long_malicious_key2]"
    Then "really_long_malicious_key2" shouldn't be a symbol

  Scenario: The show page doesn't leak
    Given I go to the first post show page with params "?really_long_malicious_key3"
    Then "really_long_malicious_key3" shouldn't be a symbol

  Scenario: The edit page doesn't leak
    Given I go to the first post edit page with params "?really_long_malicious_key4"
    Then "really_long_malicious_key4" shouldn't be a symbol

  @allow-rescue
  Scenario: Batch Actions don't leak
    Given I POST to "admin/posts/batch_action" with params "?batch_action=really_long_malicious_key5"
    Then "really_long_malicious_key5" shouldn't be a symbol

Version data entries

36 entries across 36 versions & 6 rubygems

Version Path
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/symbol_leak.feature
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/symbol_leak.feature
yousty-activeadmin-1.0.17.pre features/symbol_leak.feature
yousty-activeadmin-1.0.16.pre features/symbol_leak.feature
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/symbol_leak.feature
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/symbol_leak.feature
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/symbol_leak.feature
yousty-activeadmin-1.0.15.pre features/symbol_leak.feature
activeadmin-1.0.0.pre5 features/symbol_leak.feature
activeadmin-orac-1.0.0.pre4 features/symbol_leak.feature
activeadmin-orac-1.0.0 features/symbol_leak.feature
activeadmin-orac-1.0.0.pre.orac features/symbol_leak.feature
yousty-activeadmin-1.0.14.pre features/symbol_leak.feature
yousty-activeadmin-1.0.13.pre features/symbol_leak.feature
yousty-activeadmin-1.0.12.pre features/symbol_leak.feature
yousty-activeadmin-1.0.11.pre features/symbol_leak.feature
yousty-activeadmin-1.0.10.pre features/symbol_leak.feature
yousty-activeadmin-1.0.9.pre features/symbol_leak.feature
yousty-activeadmin-1.0.8.pre features/symbol_leak.feature
activeadmin-1.0.0.pre4 features/symbol_leak.feature