projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c7e1b
)
Our URLs are permanent redirects, mind you!
author
Mikael Nordfeldth
<mmn@hethane.se>
Wed, 6 Jan 2016 19:06:14 +0000
(20:06 +0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Wed, 6 Jan 2016 19:06:14 +0000
(20:06 +0100)
actions/redirecturl.php
patch
|
blob
|
history
diff --git
a/actions/redirecturl.php
b/actions/redirecturl.php
index db3784bf31d70b4bb09f9eb816ec107d5225c863..826ab66a679188dac905bcae3e6b2ce6b3721033 100644
(file)
--- a/
actions/redirecturl.php
+++ b/
actions/redirecturl.php
@@
-56,7
+56,7
@@
class RedirecturlAction extends ManagedAction
public function showPage()
{
- common_redirect($this->file->
url, 307
);
+ common_redirect($this->file->
getUrl(false), 301
);
}
function isReadOnly($args)