Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 559220

Summary: nginx redirecting some URLs back to itself
Product: Community Reporter: Jonah Graham <jonah>
Component: WikiAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: jonah
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jonah Graham CLA 2020-01-15 15:36:56 EST
Hello Webmasters,

I am getting a "This page isn’t working wiki.eclipse.org redirected you too many times." on requests to some pages on the Wiki.

For example:
https://wiki.eclipse.org/CDT/C%2B%2B_editor_enhancements

It looks like nginx is returning 301 back to the same page:

Request header (partial):
GET /CDT/C%2B%2B_editor_enhancements HTTP/1.1
Host: wiki.eclipse.org

Response header (complete)
 
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Wed, 15 Jan 2020 20:32:46 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 25
Connection: keep-alive
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
Last-Modified: Wed, 15 Jan 2020 20:31:59 GMT
Location: https://wiki.eclipse.org/CDT/C%2B%2B_editor_enhancements
Content-Encoding: gzip
X-NodeID: php-vm2
X-Frame-Options: DENY
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Proxy-Cache: BYPASS
Comment 1 Jonah Graham CLA 2020-01-15 15:39:20 EST
I think original title of page is probably CDT/C++_editor_enhancements - but trying to navigate to that has the same failure.

----

If it is difficult to fix the redirects, can you simply rename these wiki page for me? They are the only two within CDT that use %2B

https://wiki.eclipse.org/CDT/C%2B%2B_editor_enhancements
https://wiki.eclipse.org/CDT/C%2B%2B_editor_enhancements/Proposal

e.g. rename C%2B%2B to CPP

https://wiki.eclipse.org/CDT/CPP_editor_enhancements
https://wiki.eclipse.org/CDT/CPP_editor_enhancements/Proposal

Thank you!
Comment 2 Jonah Graham CLA 2020-01-22 13:18:18 EST
It turns out that the contents of the pages in Comment 1 had already been moved out because of the problem of %2B. I have now deleted the offending pages, so it is probably not worth fixing.

By using the index.php script I was able to edit and delete the page even though I could not render it. i.e. I visited:

https://wiki.eclipse.org/index.php?title=CDT/C%2B%2B_editor_enhancements&action=delete

and that allowed me to delete the offending page.

I leave it to the webmaster to reopen if you want it fixed.

The new pages are:
https://wiki.eclipse.org/CDT/C_editor_enhancements
https://wiki.eclipse.org/CDT/C_editor_enhancements/Proposal