[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 » Thu Jul 13, 2017 1:18 pm

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: 1653
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: 10.2.2., PAW
Excel Version: Nearly all of them

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

Post by Steve Rowe » Thu Jul 13, 2017 2:28 pm

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

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 » Fri Jul 14, 2017 6:22 am

Thanks Steve,

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

Post Reply