View Issue Details

IDProjectCategoryView StatusLast Update
0007160Talertaler-merchant-demospublic2024-01-12 13:08
ReporterFlorian Dold Assigned ToMS Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Summary0007160: confusing, required environment variable SCRIPT_NAME
DescriptionThe 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!
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

ms-mantis

2022-01-27 18:30

reporter   ~0018672

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.

Issue History

Date ModifiedUsernameFieldChange
2022-01-24 23:48Florian DoldNew Issue
2022-01-24 23:48Florian DoldStatusnew => assigned
2022-01-24 23:48Florian DoldAssigned To => MS
2022-01-27 18:30ms-mantisNote Added: 0018672
2022-11-02 14:12MSStatusassigned => informing
2022-11-02 14:12MSResolutionopen => fixed
2022-11-04 19:52Christian GrothoffStatusinforming => closed
2024-01-12 13:08Christian GrothoffCategorymerchant frontend (blog) => Merchant frontends (Python3)
2026-08-23 14:16Florian DoldCategoryMerchant frontends (Python3) => taler-merchant-demos