Skip to content
Permalink
Browse files

[Backport branch-1-6] clear errors after failed dimension check when …

…used in context of forwarding rules (#168)

(cherry picked from commit 1917e88)
  • Loading branch information
tbonfort authored and jbo-ads committed Jun 28, 2017
1 parent 8f6bb22 commit c9cfcec4d838aa2f9fd2bd6ff0a39e466bdf0cca
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/service_wms.c
@@ -931,6 +931,7 @@ void _mapcache_service_wms_parse_request(mapcache_context *ctx, mapcache_service
const char *value = apr_table_get(params,match_param->name);
if(!value || match_param->_get_entries_for_value(ctx,match_param,value,NULL,NULL,NULL)->nelts == 0) {
/* the parameter was not supplied, or did not validate: we don't apply this rule */
ctx->clear_errors(ctx);
got_a_match = 0;
break;
}

0 comments on commit c9cfcec

Please sign in to comment.
You can’t perform that action at this time.