Skip to content

Split request URI into SCRIPT_NAME and PATH_INFO by Sympa itself

David Verdin requested to merge github/fork/ikedas/issue-879_trial-2 into sympa-6.2

Created by: ikedas

  • WWSympa: Since CGI of some HTTP servers might split script-path and extra-path of script-URI inproperly, we'd be better to reconstruct them: SCRIPT_NAME and PATH_INFO. Note that we shouldn't use non-standard CGI environment varialbes such as REQUEST_URI.
  • Additional environment variable SYMPA_DOMAIN stands for available mail domain (a.k.a. "robot").
  • If no robot providing web service was found according to client's request, error response will be returned.

This may fix #879 (closed) .

Merge request reports