-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
129f0c6
commit a36056a
Showing
1 changed file
with
1 addition
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a36056a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This essentially breaks the df_absolute_url function. What problem are you trying to fix?
a36056a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started to deploy my Xataface applications behind a reverse proxy and absolute URIs do not function properly in that case. Instead of URI like
http://myapp.com/index.php?-table=...
, it gives me something likehttp://myapp:8051/index.php?-table=...
. Instead of spending time trying to solve the issue, I decided to disable absolute URIs completely, because I personally don't consider them necessary. However, I understand you can have reasons for using them, therefore I haven't posted a pull request regarding this and keep this commit in a separate branch.Best regards,
Jiri Kapoun
a36056a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break a few things in Xataface (e.g. forgot password emails will now send relative URLs which aren't tremendously helpful to the user - and some nuanced authentication features appear to depend on this function working reliably.
a36056a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my case, users are authenticated by NGINX using HTTP Basic Auth and LDAP lookup, therefore I don't use any authentication features of Xataface. Still, it's good to be aware of that. Thanks for the notice.
Regards,
Jiri Kapoun