Red Hat Bugzilla – Bug 230242
passing ks=http://192.168.1.1/foo/bar/ results in GET /./foo/bar
Last modified: 2007-11-16 20:14:55 EST
Description of problem:
Passing in an http URL for a kickstart config file results in a get with a /.
(slash-dot) prepended to the path. This confuses some fastcgi services like Rails.
Version-Release number of selected component (if applicable):
KS boot environment is as shipped on the 4u4 CDs
Steps to Reproduce:
1. Set up a Ruby on Rails environment
2. Boot with ks=http://<bootServerIP>/<some path that maps to RoR>
3. Observe in access_log "GET /./<some path>" returning a 404.
192.168.100.229 - - [27/Feb/2007:10:05:24 -0800] "GET /./systems/kickstart/2
HTTP/1.0" 404 610
192.168.100.229 - - [27/Feb/2007:10:05:24 -0800] "GET /systems/kickstart/2
HTTP/1.1" 200 5588
Is this better in RHEL5? I did some work on sanitizing these strings in the FC6
timeframe, so it should be a little better in that release.
Yes, better. A RHEL5 run reports:
192.168.100.229 - - [19/Apr/2007:15:05:28 -0700] "GET /systems/kickstart/8
HTTP/1.0" 200 7032
Okay, then I'm going to close this out as CURRENTRELEASE. If you require this
fix to be backported for a RHEL5 update release, please speak with your support
representative who will raise it through the appropriate channels. Thanks for
the bug report and the testing.