Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

settingsをevalで変換するのは危ない気がした #27

Open
hirossan4049 opened this issue Jul 16, 2020 · 0 comments
Open

settingsをevalで変換するのは危ない気がした #27

hirossan4049 opened this issue Jul 16, 2020 · 0 comments
Labels
大問題 その名の通り大問題。

Comments

@hirossan4049
Copy link
Owner

hirossan4049 commented Jul 16, 2020

https://github.com/hirossan4049/Schreen/blob/feature-ssl/app/uix/settings.py#L25

危ない気がした。

self.ssl_enable = True if config_file.get("SSLSettings","enable")) == "True" else False

?

@hirossan4049 hirossan4049 added the 大問題 その名の通り大問題。 label Jul 16, 2020
@hirossan4049 hirossan4049 changed the title settingsをevalで変換するのは危ない。 settingsをevalで変換するのは危ない気がした Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
大問題 その名の通り大問題。
Projects
None yet
Development

No branches or pull requests

1 participant