首页 > 解决方案 > Spring Cloud Gateway:QUERY_PARAM 的字符“=”无效

问题描述

Spring Boot Starter 父版本:2.1.5.RELEASE

当以下 URL 通过 Spring Cloud Gateway 路由时,为 Query_Param抛出Invalid character '='

网址: http://localhost:8080/tasks/schedules?scheduleName=myschedule-22&taskDefinitionName=mytask&arguments=&properties=scheduler.cron.expression=0%200/1%201/1%20*%20*

错误: java.lang.IllegalArgumentException:“scheduler.cron.expression=0%200%20*%20*%20MON,THU”中 QUERY_PARAM 的无效字符 '='

有什么办法可以克服吗?

=以下scheduler.cron.expression导致问题。属性=scheduler.cron.expression=0%200/1%201/1%20*%20*

标签: spring-cloud-dataflowspring-cloud-gateway

解决方案


该问题已在版本中修复spring-cloud-gateway 2.1.1.RELEASE

有关更多信息,请参阅此


推荐阅读