You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2022/02/28 18:52:21 UTC

[allura] branch gc/8414 updated: fixup! fixup! 8414 Added a new validator to restrict private/internal ips from being submitted in the form

This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch gc/8414
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/gc/8414 by this push:
     new 72a8682  fixup! fixup! 8414 Added a new validator to restrict private/internal ips from being submitted in the form
72a8682 is described below

commit 72a8682c279ed56e8e83460e5e71e2137b064783
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Mon Feb 28 18:52:03 2022 +0000

    fixup! fixup! 8414 Added a new validator to restrict private/internal ips from being submitted in the form
---
 ForgeSVN/forgesvn/tests/functional/test_controllers.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ForgeSVN/forgesvn/tests/functional/test_controllers.py b/ForgeSVN/forgesvn/tests/functional/test_controllers.py
index f32be68..197f912 100644
--- a/ForgeSVN/forgesvn/tests/functional/test_controllers.py
+++ b/ForgeSVN/forgesvn/tests/functional/test_controllers.py
@@ -329,8 +329,8 @@ class TestImportController(SVNTestController):
     @with_tool('test', 'SVN', 'empty', 'empty SVN')
     def test_do_import_empty_repo(self, tasks):
         self.app.post('/p/test/admin/empty/importer/do_import',
-                      {'checkout_url': 'http://fake.svn/'})
-        assert not tasks.reclone.post.called
+                      {'checkout_url': 'http://github.com/'})
+        assert tasks.reclone.post.called
 
     @patch('forgesvn.svn_main.allura.tasks.repo_tasks')
     @with_tool('test', 'SVN', 'empty', 'empty SVN')