Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue-4 when PATH_INFO was passed #7

Merged
merged 1 commit into from Jul 4, 2012
Merged

Fixes issue-4 when PATH_INFO was passed #7

merged 1 commit into from Jul 4, 2012

Conversation

harikt
Copy link
Member

@harikt harikt commented Apr 19, 2012

I was having issues running tests.

Have 10 failures for rmdir . I feel its permission issues .

I was running from

Aura.Framework/tests$ phpunit

Anyway this not regarding running tests .

Its a PR for #4

Changing PATH_INFO to REQUEST_URI fixes when the server is started via php command line. Also PATH_INFO only available for apache , so ngix will also have issues ?

@pmjones
Copy link
Member

pmjones commented Jul 4, 2012

The problem with this fix is that it fails on Apache when you pass a query string. (The query string is part of the URI.)

@pmjones
Copy link
Member

pmjones commented Jul 4, 2012

Hm, we can modify it so that we run parse_url() against REQUEST_URI to extract only the path.

pmjones pushed a commit that referenced this pull request Jul 4, 2012
Fixes issue-4 when PATH_INFO was passed
@pmjones pmjones merged commit 170e4de into auraphp:master Jul 4, 2012
@pmjones pmjones mentioned this pull request Jul 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants