Commit da888db2 authored by Leo Gordon's avatar Leo Gordon
Browse files

make guiHive tolerant to leading whitespace in URLs

parent a2458fa0
......@@ -40,6 +40,7 @@ sub main {
my $url = decode_json($json_input_with_url)->{url}->[0];
$url=~s/^\s+//; # remove leading whitespace - the most common problem when people copy-and-paste URLs around
my $hive_dba;
eval { # ------------------------- can we create the DBAdaptor?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment