Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
222383c8
Commit
222383c8
authored
Apr 10, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check application.ssl in request::secure.
parent
d5b9f3c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
changes.md
laravel/documentation/changes.md
+6
-5
request.php
laravel/request.php
+1
-1
No files found.
laravel/documentation/changes.md
View file @
222383c8
...
@@ -30,14 +30,15 @@
...
@@ -30,14 +30,15 @@
-
[
Added `save` method to has\_many Eloquent relationship
](
/docs/database/eloquent#has-many-save
)
.
-
[
Added `save` method to has\_many Eloquent relationship
](
/docs/database/eloquent#has-many-save
)
.
-
[
Added `unless` structure to Blade template engine
](
/docs/views/templating#blade-unless
)
.
-
[
Added `unless` structure to Blade template engine
](
/docs/views/templating#blade-unless
)
.
-
Migrated to the Symfony HttpFoundation component for core request / response handling.
-
Migrated to the Symfony HttpFoundation component for core request / response handling.
-
Fixed the passing of strings into the
Input::except
method.
-
Fixed the passing of strings into the
`Input::except`
method.
-
Fixed replacement of optional parameters in
URL::transpose
method.
-
Fixed replacement of optional parameters in
`URL::transpose`
method.
-
Improved
"update" handling on Has_Many and Has_One
relationships.
-
Improved
`update`
handling on
`Has_Many`
and
`Has_One`
relationships.
-
Improved View performance by only loading contents from file once.
-
Improved View performance by only loading contents from file once.
-
Fix handling of URLs beginning with has in
URL::to
.
-
Fix handling of URLs beginning with has in
`URL::to`
.
-
Fix the resolution of unset Eloquent attributes.
-
Fix the resolution of unset Eloquent attributes.
-
Allows pivot table timestamps to be disabled.
-
Allows pivot table timestamps to be disabled.
-
Made the "get_timestamp" Eloquent method static.
-
Made the
`get_timestamp`
Eloquent method static.
-
`Request::secure`
now takes
`application.ssl`
configuration option into consideration.
<a
name=
"upgrade-3.2"
></a>
<a
name=
"upgrade-3.2"
></a>
## Upgrading From 3.1
## Upgrading From 3.1
...
...
laravel/request.php
View file @
222383c8
...
@@ -142,7 +142,7 @@ class Request {
...
@@ -142,7 +142,7 @@ class Request {
*/
*/
public
static
function
secure
()
public
static
function
secure
()
{
{
return
static
::
foundation
()
->
isSecure
();
return
static
::
foundation
()
->
isSecure
()
and
Config
::
get
(
'application.ssl'
)
;
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment