Skip to content

Find out benefits of using sanitize(params[:xyz) #106

@carlobortolan

Description

@carlobortolan

E.g.,:

...

  client_token = sanitize(params[:client_token])

...

private

def sanitize(input)
  ActionController::Base.helpers.sanitize(input)
end

Metadata

Metadata

Assignees

Labels

BACKENDIssues direcly related to our backend

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions