def handleUrlParams(self):
        """
        The ``handleUrlParams`` method gets the parameters from the path.
        """
        try:
            path = self.request.path
        except __HOLE__:
            return

        path = urllib.unquote(path)

        for query in path.split('/'):
            if not query:
                continue

            parts = query.split('-')

            if len(parts) == 1:
                self.form[query] = '1'                # Default value for single name parameters, always as string
            else:
                newparts = []
                for part in parts[1:]:
                    if not self.isCodeInjection(part):
                        newparts.append(part)

                self.form[parts[0]] = '-'.join(newparts)
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/descriptors/environment.py/Environment.handleUrlParams