Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
9ec39110
Commit
9ec39110
authored
Aug 25, 2009
by
Brenda Wallace
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit 'mainline/0.8.x' into 0.8.x
parents
3ff67b3b
9fd3a415
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
76 deletions
+76
-76
classes/File_redirection.php
classes/File_redirection.php
+1
-1
tests/URLDetectionTest.php
tests/URLDetectionTest.php
+75
-75
No files found.
classes/File_redirection.php
View file @
9ec39110
...
...
@@ -182,7 +182,7 @@ class File_redirection extends Memcached_DataObject
}
}
if
((
'ftp'
==
$p
[
'scheme'
])
||
(
'http'
==
$p
[
'scheme'
])
||
(
'https'
==
$p
[
'scheme'
]))
{
if
((
'ftp'
==
$p
[
'scheme'
])
||
(
'
ftps'
==
$p
[
'scheme'
])
||
(
'
http'
==
$p
[
'scheme'
])
||
(
'https'
==
$p
[
'scheme'
]))
{
if
(
empty
(
$p
[
'host'
]))
return
false
;
if
(
empty
(
$p
[
'path'
]))
{
$out_url
.=
'/'
;
...
...
tests/URLDetectionTest.php
View file @
9ec39110
This diff is collapsed.
Click to expand it.
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