protected override void ParsePathInfo() { base.ParsePathInfo(); if (ModuleParams != null) { if (ModuleParams.Length == 1) { // First argument is the module action _currentAction = _inboundActions.FindByName(ModuleParams[0]); if (_currentAction != null) { if (_currentAction.Name == "Search") { _searchQuery = HttpContext.Current.Server.UrlDecode(HttpContext.Current.Request.QueryString["q"]); } } else { throw new Exception("Error when parsing module action: " + ModuleParams[0]); } } } }