Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

uses getBaseUrl() instead of getBasePath() to also work in dev-environments #13

Merged
merged 1 commit into from
Jan 5, 2014

Conversation

gruzilla
Copy link
Contributor

problems occured sending the following header:

Link: <http://example.local/api/app_dev.php/users/2>; rel="members"

When using getBaseUrl() instead of getBasePath() there is no problem.
When using getBasePath() the route is not found by the matcher because of the additional app_dev.php

@willdurand
Copy link
Owner

Maybe it would make sense to set up a test case for that.

@willdurand
Copy link
Owner

Ping @gruzilla

willdurand added a commit that referenced this pull request Jan 5, 2014
uses getBaseUrl() instead of getBasePath() to also work in dev-environments
@willdurand willdurand merged commit 2415036 into willdurand:master Jan 5, 2014
@willdurand
Copy link
Owner

I tried, and failed to write a test for that..

willdurand added a commit that referenced this pull request Jan 5, 2014
@willdurand
Copy link
Owner

Finally found a way to prove the bug. Thanks for the fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants