[Hawkular-commits] [hawkular/hawkular-ui-services] 389e5d: Preserving the encoded slashes in the resource ids...

Mike Thompson mtho11 at users.noreply.github.com
Fri Dec 4 10:20:42 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/hawkular/hawkular-ui-services
  Commit: 389e5ddde3c6f5bc8f7ff0d6214c630cf3884c98
      https://github.com/hawkular/hawkular-ui-services/commit/389e5ddde3c6f5bc8f7ff0d6214c630cf3884c98
  Author: Jirka Kremser <jkremser at redhat.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M src/rest/hawkRest-inventory-provider.ts

  Log Message:
  -----------
  Preserving the encoded slashes in the resource ids. Currently the interceptor replaces all the encoded slashes to the simple ones, but we need to have the way to pass the encoded slash in the resource id. If the resource id is manually encoded with window.encodeURI() and then angular does it once more for the 'percent' symbol, it ends up as '%252F' here we turn it back to simple '%2F' for which the inventory backend is prepared. In short: '/' are allowed as resource separators: r1/r2/r3 and '%2F' are allowed in the resource ids: r%2F1/r%2F2


  Commit: 4f102f4481586cc68fa8130b1bbee7d25999a445
      https://github.com/hawkular/hawkular-ui-services/commit/4f102f4481586cc68fa8130b1bbee7d25999a445
  Author: Mike Thompson <mtho11 at users.noreply.github.com>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M src/rest/hawkRest-inventory-provider.ts

  Log Message:
  -----------
  Merge pull request #71 from Jiri-Kremser/slash-hell

Slash hell: Preserving the encoded slashes in the resource ids.


Compare: https://github.com/hawkular/hawkular-ui-services/compare/b1b6a8d74541...4f102f448158


More information about the hawkular-commits mailing list