Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Decoding Aggregator request URLs

Chuck Dumont edited this page Jun 24, 2015 · 7 revisions

This feature is new in version 1.2

The Aggregator uses various encoding techniques to minimize the space needed to specify modules and features in request URLs in order to minimize request splitting. Unfortunately, this makes the URLs indecipherable to a human observer. Sometimes, it is useful to know which modules the Aggregator is asking for, or which features are defined, in a request URL.

For this purpose, the Aggregator provides the combo/dojo/requestDecoder module. There is a convenience method on the require.combo object named decodeUrl which can be used to load the combo/dojo/requestDecoder module and output the decoded request to the browser console. This method can be invoked by entering the following command in the browser's JavaScrit command console:

require.combo.decodeUrl('<paste URL here>')

Note that URL encodings are application version specific, so the client will be unable to decode a URL generated by a different version of the application.