This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
Bugfix: not complete a url with parameter or fragment
pull/3844/head
Michael
3 years ago
parent
404ed27fb4
commit
9804e65d18
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
include/html2bbcode.php
+ 2
- 0
include/html2bbcode.php
View File
@ -340,6 +340,8 @@ function html2bbcode($message, $basepath = '')
*/
function
addHostnameSub
(
$matches
,
$basepath
)
{
$base
=
parse_url
(
$basepath
);
unset
(
$base
[
'query'
]);
unset
(
$base
[
'fragment'
]);
$link
=
$matches
[
0
];
$url
=
$matches
[
1
];
Write
Preview
Loading…
Cancel
Save