의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Another fix for "goaway". Hopefully now finale.
This commit is contained in:
부모
a28d44a9ba
커밋
3189f0e23c
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
2
boot.php
2
boot.php
|
@ -1558,7 +1558,7 @@ function killme() {
|
|||
* @brief Redirect to another URL and terminate this process.
|
||||
*/
|
||||
function goaway($s) {
|
||||
if (!strstr(normalise_link($s), normalise_link(App::get_baseurl())))
|
||||
if (!strstr(normalise_link($s), "http://"))
|
||||
$s = App::get_baseurl()."/".$s;
|
||||
|
||||
header("Location: $s");
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue