[BUG] Rest API does not process URLs with encoding

Post Reply
Roland1
Posts: 2
Joined: Wed Jul 12, 2017 1:32 pm
OLAP Product: TM1
Version: 10.22
Excel Version: 7

[BUG] Rest API does not process URLs with encoding

Post by Roland1 »

Consider the following delete request for deleting a subset with a given id:

Code: Select all

http://server/api/v1/Dimensions('month')/Hierarchies('month')/Subsets('}id123')
The subset id('}id123') contains an illegal character('}') which should be escaped using the sequence: %7D

Yet if I escape it the REST request doesn't work anymore, TM1 doesn't process the escape sequences.

IMHO this is a bug with TM1.

TM1 version: 10.2.2 FP 6 IF 2
User avatar
Steve Rowe
Site Admin
Posts: 2410
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: [BUG] Rest API does not process URLs with encoding

Post by Steve Rowe »

Hi Roland, Just in case you are not aware this forum is not related to IBM and we are not able to raise bugs on your behalf, you 'll need to raise this direct with IBM.

If you are just letting the group know, then thanks for the info!

Cheers,

Steve
Technical Director
www.infocat.co.uk
Roland1
Posts: 2
Joined: Wed Jul 12, 2017 1:32 pm
OLAP Product: TM1
Version: 10.22
Excel Version: 7

Re: [BUG] Rest API does not process URLs with encoding

Post by Roland1 »

Thanks Steve,

I posted the same in the official IBM forum:
https://www.ibm.com/developerworks/comm ... 5572&ps=25
Post Reply