Page MenuHomeMiraheze

Random redirects from custom hostnames to other wikis
Closed, ResolvedPublic

Description

I've raised this with Cloudflare and these are uncached and showing as an origin redirect.

Can someone please attempt to directly curl our own backends without cloudflare and test if this happens?

https://wiki.themanaworld.org/wiki/How_to_Develop -> https://dev.miraheze.org/wiki/How_to_Develop?rdfrom=https%3A%2F%2Fwiki.themanaworld.org%2Fwiki%2FHow_to_Develop%3Fredirect%3Dno

Last time purging the cf cache helped but I've left it in place at the moment.

CF ticket 3249651 refers to my attempt to debug with them

Event Timeline

RhinosF1 triaged this task as Unbreak Now! priority.May 4 2024, 12:50
RhinosF1 created this task.

curl -I 'https://[2602:294:0:b23::104]/wiki/How_to_Develop' -k --header 'Host: wiki.themanaworld.org'

Gives the following result:

HTTP/2 302
server: nginx
date: Sat, 04 May 2024 16:53:44 GMT
content-type: text/html; charset=UTF-8
location: https://dev.miraheze.org/wiki/How_to_Develop?rdfrom=https%3A%2F%2Fwiki.themanaworld.org%2Fwiki%2FHow_to_Develop%3Fredirect%3Dno
x-powered-by: PHP/8.2.18
x-content-type-options: nosniff
vary: Accept-Encoding, Cookie,
expires: Thu, 01 Jan 1970 00:00:00 GMT
cache-control: private, must-revalidate, max-age=0
x-request-id: 543796f4b6fc171afd20d5cf
strict-transport-security: max-age=604800
x-served-by: mw171.wikitide.net
x-xss-protection: 1; mode=block
x-frame-options: ALLOW-FROM static.miraheze.org
content-security-policy:  default-src 'self' *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net;  script-src blob: 'self' 'unsafe-inline' 'unsafe-eval' *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net *.wikimedia.org *.wikipedia.org *.wikibooks.org *.wiktionary.org *.wikiquote.org *.wikisource.org *.wikiversity.org *.wikinews.org *.wikivoyage.org mediawiki.org www.mediawiki.org wikidata.org www.gstatic.com www.google.com apis.google.com platform.twitter.com wiki-assets.sumin.wiki ajax.cloudflare.com cdnjs.cloudflare.com cdn.jsdelivr.net fastly.jsdelivr.net cdn.syndication.twimg.com openlayers.org www.gstatic.cn hcaptcha.com *.hcaptcha.com bandcamp.com;  style-src 'self' data: 'unsafe-inline' miraheze.org wikitide.org *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net *.wikimedia.org *.wikipedia.org *.wikibooks.org *.wiktionary.org *.wikiquote.org *.wikisource.org *.wikiversity.org *.wikinews.org *.wikivoyage.org mediawiki.org www.mediawiki.org wikidata.org www.gstatic.com fonts.googleapis.com cdn.jsdelivr.net fastly.jsdelivr.net cdnjs.cloudflare.com platform.twitter.com ton.twimg.com hcaptcha.com *.hcaptcha.com;  img-src blob: 'self' data: miraheze.org wikitide.org *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net upload.wikimedia.org wikimedia.org maps.google.com www.gstatic.com maxcdn.bootstrapcdn.com *.twimg.com i.imgur.com image.tmdb.org *.googleusercontent.com *.fontawesome.com *.dropboxstatic.com *.redd.it *.redditmedia.com mirrors.creativecommons.org www.gnu.org live.staticflikr.com cdn.pixabay.com cdn.geogebra.org docs.blender.org *.imgbox.com tile.openstreetmap.org *.tile.openstreetmap.org cdn.discordapp.com na.llnet.sims3storee.cdn.ea.com *.fastly.net minotar.net db.onlinewebfonts.com openlayers.org discordapp.com imgbb.com postimages.org platform.twitter.com syndication.twitter.com img.newspapers.com cdn.smutstone.com storage.googleapis.com *.fbcdn.net i.ytimg.com *.imgbb.com simgbb.com *.simgbb.com ibb.co *.ibb.co *.postimages.org postimgs.org *.postimgs.org postimg.cc *.postimg.cc *.rbxcdn.com cms-imgp.jw-cdn.org;  font-src 'self' data: *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net fonts.gstatic.com fonts.googleapis.com cdnjs.cloudflare.com cdn.jsdelivr.net fastly.jsdelivr.net db.onlinewebfonts.com upload.wikimedia.org;  media-src 'self' blob: *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net upload.wikimedia.org embed.nicovideo.jp *.youtube.com *.youtube-nocookie.com player.twitch.tv clips.twitch.tv player.vimeo.com apis.google.com bandcamp.com;  frame-src 'self' *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net www.google.com docs.google.com apis.google.com web.libera.chat snap.berkeley.edu *.youtube-nocookie.com www.youtube.com player.twitch.tv platform.twitter.com discord.com discordapp.com embed.nicovideo.jp syndication.twitter.com open.spotify.com www.gofundme.com archive.org w.soundcloud.com query.wikidata.org player.vimeo.com www.bing.com lucid.app scratch.mit.edu hcaptcha.com *.hcaptcha.com bandcamp.com;  connect-src 'self' *.miraheze.org *.mirabeta.org *.wikitide.org *.wikitide.net www.wikidata.org *.wikipedia.org www.mediawiki.org *.wikimedia.org *.wikinews.org *.wiktionary.org cdn.jsdelivr.net storage.googleapis.com *.youtube-nocookie.com hcaptcha.com *.hcaptcha.com 1.1.1.1;

Indicated that it was served by mw171 but still redirected.

https://wiki.themanaworld.org/wiki/How_to_Develop?oldid=27815 is the core cause for themanaworldwiki redirecting to dev.

See T11978, this wiki originally had a Dev: namespace however that had to be renamed to Development: for the import to carry over those pages. Current edits referring to a Dev: namespace, which in Miraheze is an interwiki link to devwiki were not changed however.

RhinosF1 assigned this task to OrangeStar.

Closing this as there's not been another report of a weird redirect

Whoops, that was a little unexpected. Thanks for investigating this, we'll get those links cleaned up!