Bug 61944 - apxs interpolates "@" in arguments
Summary: apxs interpolates "@" in arguments
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.5-HEAD
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-31 01:29 UTC by Kevin Abel
Modified: 2017-12-31 01:29 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Abel 2017-12-31 01:29:19 UTC
While attempting to install a module via apxs using the example command[1], a warning is output [2] and the module is not installed properly. The passed LIBEXECDIR directory override has a character that gets interpolated by perl. Those passed strings should probably not go through any interpolation at. Suggested fix is at https://github.com/apache/httpd/pull/45


[1] apxs -S LIBEXECDIR='/usr/local/Cellar/php@7.1/7.1.12/lib/httpd/modules' -S SYSCONFDIR='/usr/local/etc/httpd' -i -n php7 libs/libphp7.so
[2] Possible unintended interpolation of @7 in string at (eval 27) line 1.