@@ -210,7 +210,7 @@ def on_get(self, req, resp):
210210 raise ElixirProjectError ('Error' , f'Unknown default project: { project } ' ,
211211 status = falcon .HTTP_INTERNAL_SERVER_ERROR )
212212
213- version = parse . quote ( query .query ('latest' ) )
213+ version = query .query ('latest' )
214214 resp .status = falcon .HTTP_FOUND
215215 resp .location = stringify_source_path (project , version , '/' )
216216 return
@@ -235,7 +235,7 @@ def on_get(self, req, resp, project: str, version: str, path: str):
235235 project = project , version = version , query = query )
236236
237237 if version == 'latest' :
238- version = parse . quote ( query .query ('latest' ) )
238+ version = query .query ('latest' )
239239 resp .status = falcon .HTTP_FOUND
240240 resp .location = stringify_source_path (project , version , path )
241241 return
@@ -326,7 +326,7 @@ def on_get(self, req, resp, project: str, version: str, family: str, ident: str)
326326 ident = validated_ident
327327
328328 if version == 'latest' :
329- version = parse . quote ( query .query ('latest' ) )
329+ version = query .query ('latest' )
330330 resp .status = falcon .HTTP_FOUND
331331 resp .location = stringify_ident_path (project , version , family , ident )
332332 return
@@ -354,7 +354,7 @@ def on_get(self, req, resp, project: str, version: str = "latest"):
354354 status = falcon .HTTP_INTERNAL_SERVER_ERROR )
355355
356356 if version == 'latest' or len (version ) == 0 :
357- version = parse . quote ( query .query ('latest' ) )
357+ version = query .query ('latest' )
358358
359359 resp .status = falcon .HTTP_FOUND
360360 resp .location = stringify_source_path (project , version , '/' )
0 commit comments