diff options
author | Yorhel <git@yorhel.nl> | 2010-12-04 20:09:28 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-12-04 20:09:28 +0100 |
commit | fa4de2123498d3f240d09a12811af80b8af7fa72 (patch) | |
tree | 5efce241c38a66b14c5f95d49903e74410b9793a | |
parent | 14f690993eb8329f496277aa49b81ddc7e4cd1ae (diff) |
API: Allow extra whitespace after "get .." command
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | data/docs/11 | 4 | ||||
-rw-r--r-- | lib/POE/Filter/VNDBAPI.pm | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,6 @@ +2.14 - ? + - API: Allow extra whitespace after "get .." command + 2.14 - 2010-11-28 - Improved filter selection interface for the release and VN browser - New release filters: voiced, animation and original language diff --git a/data/docs/11 b/data/docs/11 index 4d13312c..a12bcbcb 100644 --- a/data/docs/11 +++ b/data/docs/11 @@ -904,6 +904,10 @@ however still required.<br /> This section lists the changes made in each version of the VNDB code. Check out the <a href="/t/an">announcements board</a> for more information about updates. </p> +<b>2.15</b> +<ul> + <li>Fixed a bug with the server not allowing extra whitespace after a "get .. " command</li> +</ul> <b>2.12</b> <ul> <li>Added "image" member to "get vn"</li> diff --git a/lib/POE/Filter/VNDBAPI.pm b/lib/POE/Filter/VNDBAPI.pm index ceb9ae2d..1d99e4e1 100644 --- a/lib/POE/Filter/VNDBAPI.pm +++ b/lib/POE/Filter/VNDBAPI.pm @@ -141,7 +141,7 @@ sub get_one { else { my ($value, $rest) = split /$WS+/, $str, 2; $str = $rest; - push @ret, $value; + push @ret, $value if length $value; } } |