From 82ec0c73b5d00bffb826268713cc5d990c18657f Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 2 Feb 2017 12:07:49 -0500 Subject: [PATCH] 2017-02-02 Fred Gleason * Fixed a bug in 'web/tests/editcut.js' that caused the EditCut test harness to fail when using non-localhost URLs. * Fixed a bug in 'web/tests/editcart.js' that caused the EditCut test harness to fail when using non-localhost URLs. --- ChangeLog | 5 +++++ web/tests/editcart.js | 2 +- web/tests/editcut.js | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 13aa4285..da111a44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15546,3 +15546,8 @@ * Added a 'Group' field to 'rlm/rlm_test.c'. 2017-02-02 Fred Gleason * Added a 'linkStartTime' tag to the output of 'RDLogLine::xml()'. +2017-02-02 Fred Gleason + * Fixed a bug in 'web/tests/editcut.js' that caused the EditCut + test harness to fail when using non-localhost URLs. + * Fixed a bug in 'web/tests/editcart.js' that caused the EditCut + test harness to fail when using non-localhost URLs. diff --git a/web/tests/editcart.js b/web/tests/editcart.js index f4392bcf..42f841c4 100644 --- a/web/tests/editcart.js +++ b/web/tests/editcart.js @@ -69,5 +69,5 @@ function EditCart_ShowPost() function EditCart_Submit() { - PostForm(EditCart_MakePost(),"http://localhost/rd-bin/rdxport.cgi"); + PostForm(EditCart_MakePost(),"rdxport.cgi"); } diff --git a/web/tests/editcut.js b/web/tests/editcut.js index 4a6b22b7..c027669e 100644 --- a/web/tests/editcut.js +++ b/web/tests/editcut.js @@ -74,5 +74,5 @@ function EditCut_ShowPost() function EditCut_Submit() { - PostForm(EditCut_MakePost(),"http://localhost/rd-bin/rdxport.cgi"); + PostForm(EditCut_MakePost(),"rdxport.cgi"); }