X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4e32a5d047ab832e7399dedd7b5dd5f8fc364367..10176dd693120301ccc9695310c6ecbd7714cf79:/apps/workbench/app/helpers/application_helper.rb diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb index db6ae38c84..57b8d8780c 100644 --- a/apps/workbench/app/helpers/application_helper.rb +++ b/apps/workbench/app/helpers/application_helper.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + module ApplicationHelper def current_user controller.current_user @@ -671,9 +675,9 @@ module ApplicationHelper end # Keep locators are expected to be of the form \"...\" - KEEP_LOCATOR_REGEXP = /(.*)(([0-9a-f]{32}\+\d+)(.*)\"(.*))/ + JSON_KEEP_LOCATOR_REGEXP = /(.*)(([0-9a-f]{32}\+\d+)(.*)\"(.*))/ def keep_locator_in_json str - KEEP_LOCATOR_REGEXP.match str + JSON_KEEP_LOCATOR_REGEXP.match str end private