Make HTML-Escaping optional
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading the JSON dump and escaping logic in util.py, then check the tests that cover JSON output. Make the escaping configurable as described, with the default behavior decided consistently with the existing setting. Done when the option controls whether < and > are escaped and the relevant tests pass.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
In the version 0.24.0 the feature "escape < and > on JSON dump" was introduced. We are using oracle provider and the necessary escaping is done on the database side. Because of escaping in pygeoapi our application is working buggy.
Describe the solution you'd like
It would be better to make the escaping optional, f.e. through the environment variable.
Describe alternatives you've considered
Additional context
Now we are forced to use the adjustment of the util.py:
DO_JSON_ESCAPE = os.getenv('JSON_ESCAPE', 'false').lower()
...
...
# do escaping optional
if DO_JSON_ESCAPE in ('true', '1', 'yes'):
LOGGER.debug('Escaping < and >')
json_dump = json_dump.replace('<', '<')
json_dump = json_dump.replace('>', '>')
- 主要言語
- Python
- スター
- 626
- フォーク
- 339
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
geopython/pygeoapi のほかの issue
-
the query parameter limit is not working for jobs再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
-
ESRI provider tests: mock ArcGIS HTTP responses instead of depending on sampleserver6対応中かも @aaditya755 が 6 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
geopython/pygeoapi#2448 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
get_collection_map does not parse the transparent query parameter対応中かも @tomkralidis が 8 日前に担当しました。 オープンbug OGC API - Maps
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
geopython/pygeoapi#2444 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
map providers can sometimes be passed incorrect bbox-crs value再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
geopython/pygeoapi#2443 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
geopython/pygeoapi の issue をすべて見る
似ている issue
-
area/config comp/tools P2 platform/telegram type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NousResearch/hermes-agent#145412 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Update docs for security org scaffolding and Docs AI menu permission changes対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Community project: hosted MOSS-Image studio with a visual JSON layout builder (no ComfyUI needed)オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
OpenMOSS/MOSS-Image#27 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
deepspeedai/DeepSpeed#8925 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
external integration integration-submission
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
langchain-ai/docs#7077 ·
メンテナーはふだん 1 日以内に返信