chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f1acf
)
Strip "none" values when replicating our url
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 13 Aug 2009 01:47:17 +0000
(
02:47
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 13 Aug 2009 01:47:17 +0000
(
02:47
+0100)
yarrg/web/lookup
patch
|
blob
|
history
diff --git
a/yarrg/web/lookup
b/yarrg/web/lookup
index e062e60c6c4b072ca6daf1f96709f0d111e87cad..9c00a65466481bd3e6e1633fa3fe0c7fbf418f9a 100644
(file)
--- a/
yarrg/web/lookup
+++ b/
yarrg/web/lookup
@@
-56,7
+56,9
@@
my %queryqf;
foreach my $var (keys %ARGS) {
next unless $var =~
m/^(?:routestring|islandid\d|archipelago\d|debug)$/;
- $queryqf{$var}= $ARGS{$var};
+ my $val= $ARGS{$var};
+ next if $val eq 'none';
+ $queryqf{$var}= $val;
}
my $uri= URI->new($m->current_comp()->name());