View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007160 | Taler | Merchant frontends (Python3) | public | 2022-01-25 00:48 | 2024-01-12 14:08 |
Reporter | Florian Dold | Assigned To | MS | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Summary | 0007160: confusing, required environment variable SCRIPT_NAME | ||||
Description | The environment variable SCRIPT_NAME is not documented anywhere, but still required by the blog (at least until I push my commit to make it optional). This environment variable should be documented! The name is rather confusing. It probably should be something like APP_ROOT or ROOT_URL. And to construct paths prefixed by it, we should probably use a helper function instead of using "magic constants" everywhere! | ||||
Tags | No tags attached. | ||||
|
SCRIPT_NAME is part of WSGI, as documented here: https://wsgi.readthedocs.io/en/latest/definitions.html#envvar-SCRIPT_NAME It is the place where the X-Forwarded-Path header's value can be found by the Web application. It can't be changed, but as of commit: 99b7904ac1258042be56bed20a80ef0c20711a27, its value gets fetched by a helper function. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-01-25 00:48 | Florian Dold | New Issue | |
2022-01-25 00:48 | Florian Dold | Status | new => assigned |
2022-01-25 00:48 | Florian Dold | Assigned To | => MS |
2022-01-27 19:30 | ms-mantis | Note Added: 0018672 | |
2022-11-02 15:12 | MS | Status | assigned => resolved |
2022-11-02 15:12 | MS | Resolution | open => fixed |
2022-11-04 20:52 | Christian Grothoff | Status | resolved => closed |
2024-01-12 14:08 | Christian Grothoff | Category | merchant frontend (blog) => Merchant frontends (Python3) |