-
- Downloads
common/utils: Ensure str type for query parameters in reverse function
It prevents possible issues in URL generation when providing a query parameter that is not of string type. See for instance bug fixed in rDWAPPS1c512a8365afb9485e9ac202046fd1ca4223a3c4 that could have been spotted by mypy if such rule was in place.
Showing
- swh/web/api/views/add_forge_now.py 6 additions, 3 deletionsswh/web/api/views/add_forge_now.py
- swh/web/api/views/origin.py 1 addition, 1 deletionswh/web/api/views/origin.py
- swh/web/api/views/snapshot.py 2 additions, 2 deletionsswh/web/api/views/snapshot.py
- swh/web/browse/identifiers.py 1 addition, 1 deletionswh/web/browse/identifiers.py
- swh/web/browse/views/revision.py 4 additions, 4 deletionsswh/web/browse/views/revision.py
- swh/web/browse/views/snapshot.py 1 addition, 1 deletionswh/web/browse/views/snapshot.py
- swh/web/common/identifiers.py 6 additions, 12 deletionsswh/web/common/identifiers.py
- swh/web/common/typing.py 2 additions, 6 deletionsswh/web/common/typing.py
- swh/web/common/utils.py 6 additions, 7 deletionsswh/web/common/utils.py
- swh/web/misc/iframe.py 2 additions, 2 deletionsswh/web/misc/iframe.py
Loading
Please register or sign in to comment