Make uniform key for JSON methods cache in JSONServiceAction

Description

The key created in JSONServiceAction#getMethodAndParameterTypes() for caching methods is built using method name and given service parameter names. Therefore, the following two calls are the same:

but they will create two entries in cache. As these methods are given by user, some may use this in malicious way to fill up the memory.

Activity

Show:

Michael Saechang April 26, 2012 at 2:33 PM

Committed on:
Portal 6.2.x GIT ID: be0a217b04df6c57632f7cfdb7dd73b8b5fbaf02.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created April 23, 2012 at 8:13 AM
Updated June 24, 2023 at 3:48 PM
Resolved April 24, 2012 at 10:38 AM
Loading...