Skip to content

Commit

Permalink
API is not compatible with requests containing spcial/encoding char #…
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Jun 8, 2024
1 parent 810b0ec commit e371c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/outputs/glances_restful_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def _router(self):
endpoint=self._api_item_unit,
)
router.add_api_route(
f'/api/{self.API_VERSION}/{{plugin}}/{{item}}/{{value}}',
f'/api/{self.API_VERSION}/{{plugin}}/{{item}}/{{value:path}}',
response_class=ORJSONResponse,
endpoint=self._api_value,
)
Expand Down

0 comments on commit e371c8f

Please sign in to comment.