GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — GETS/HEADS/PUT/DELETE 不允许前端传 @combine by cloudAndMonkey · Pull Request #494 · APIJSON/APIJSON ConversationAPIJSON#493 GETS/HEADS/PUT/DELETE 不允许前端传 @combine,目前在这里去掉了校验,需要在 AbstractVerifier 补上,这样就只能通过后端配置 @combine 了,既保证了功能,又保证了安全
|
There was an error while loading. Please reload this page.
|
@cloudAndMonkey 这里少了 PUT 哈 if (combine != null && (_method == RequestMethod.DELETE || _method == RequestMethod.GETS || _method == RequestMethod.HEADS)) 可以直接用 RequestMethod.isQueryMehtod(_method) == false 判断, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@TommyLemon |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.