Incorrect version of rest-api-browser.min.js in RAB version 3.0.12
Issue #4
resolved
File \assets\rab\rest-api-browser.min.js contains incorrect string:
var pat=new RegExp("{"+tmplVar.name+":?(.*)}","g");
but in source of ver. 3.0.12 this line is:
var pat = new RegExp('{' + tmplVar.name + ':?(.*?)}', 'g');
This bug causes error when RAB trims all URL parameters except first.
Comments (2)
-
Account Deactivated -
Account Deactivated - changed status to resolved
Fixed with 3.2.0, see here: https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser/versions#b30200
- Log in to comment
Looks like the pull request I just opened (for something else) would fix this: https://bitbucket.org/atlassian/rest-api-browser/pull-requests/10/update-rest-api-browserminjs/diff