Page 1 of 1

[BUG] Rest API does not process URLs with encoding

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

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

Posted: Thu Jul 13, 2017 2:28 pm
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

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

Posted: Fri Jul 14, 2017 6:22 am
by Roland1
Thanks Steve,

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