From 65b8af4d084af6d6ac335c1cd78155c77ea22dd9 Mon Sep 17 00:00:00 2001 From: Javier Herrero Date: Fri, 15 Apr 2016 17:30:26 +0100 Subject: [PATCH] Use the full URL for R libs This allows the user to download the file and use the interactive table or chart. --- webserver/cgi-bin/index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver/cgi-bin/index.pl b/webserver/cgi-bin/index.pl index 1aceb44..6f0ba40 100755 --- a/webserver/cgi-bin/index.pl +++ b/webserver/cgi-bin/index.pl @@ -309,7 +309,7 @@ =head2 validate_form sub validate_form { my $data; - my $validated_args = ["--web", ($WEB_ROOT or "/")]; + my $validated_args = ["--web", $q->url(-base=>1).($WEB_ROOT or "/")]; my @error_messages; my $input_data;