diff --git a/ChangeLog b/ChangeLog index e9ecf75d..9d063433 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ 27/1/16 started 8.2.3 - fix a crash with SPARC byte-order labq vips images +- fix parsing of filenames containing brackets, thanks shilpi230 12/1/16 started 8.2.2 - changes to ease compiling C++ binding with MSVC [Lovell Fuller] diff --git a/libvips/iofuncs/util.c b/libvips/iofuncs/util.c index dd531983..74b4aec8 100644 --- a/libvips/iofuncs/util.c +++ b/libvips/iofuncs/util.c @@ -1231,7 +1231,7 @@ vips__token_get( const char *p, VipsToken *token, char *string, int size ) * so the next break must be bracket, equals, comma. */ *token = VIPS_TOKEN_STRING; - n = strcspn( p, "<[{()}]>=," ); + n = strcspn( p, "[]=," ); i = VIPS_MIN( n, size ); vips_strncpy( string, p, i + 1 ); p += n;