Because we use URLs to call the SuperCat browse API, we need to
be more careful about encoding parameters. #, in particular, breaks
auth browse because it's seen as a URL fragment separator by the browser
and web server.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
+ dijit.byId('authAxis').attr('value')
// + '/' + dijit.byId('authOU').attr('value')
+ '/1' // replace with preceding line if OUs gain some meaning
- + '/' + dijit.byId('authTerm').attr('value')
+ + '/' + encodeURIComponent(dijit.byId('authTerm').attr('value'))
+ '/' + dijit.byId('authPage').attr('value')
+ '/' + '20' // 20 results per page
;