[ARVADOS] updated: 1.1.4-789-g17cf67c1a
Git user
git at public.curoverse.com
Tue Aug 14 14:02:17 EDT 2018
Summary of changes:
apps/workbench/test/controllers/projects_controller_test.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 17cf67c1a04b3ffbccdf08dd9b3aa5f25ef84a1b (commit)
from a9a202895a63f29e8bc045c50f5518800b008275 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 17cf67c1a04b3ffbccdf08dd9b3aa5f25ef84a1b
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Tue Aug 14 15:01:28 2018 -0300
14028: Confirm that safe tags (like <b></b>) don't get cleaned by sanitize()
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>
diff --git a/apps/workbench/test/controllers/projects_controller_test.rb b/apps/workbench/test/controllers/projects_controller_test.rb
index c35d83ffc..3522745fe 100644
--- a/apps/workbench/test/controllers/projects_controller_test.rb
+++ b/apps/workbench/test/controllers/projects_controller_test.rb
@@ -335,10 +335,10 @@ class ProjectsControllerTest < ActionController::TestCase
project = api_fixture('groups')['aproject']
use_token :active
found = Group.find(project['uuid'])
- found.description = 'Textile description with link to home page <a href="/">take me home</a>.'
+ found.description = '<b>Textile</b> description with link to home page <a href="/">take me home</a>.'
found.save!
get(:show, {id: project['uuid']}, session_for(:active))
- assert_includes @response.body, 'Textile description with link to home page <a href="/">take me home</a>.'
+ assert_includes @response.body, '<b>Textile</b> description with link to home page <a href="/">take me home</a>.'
end
test "find a project and edit description to unsafe html description" do
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list