[Bug 326623] ProjectInfoData should strip the hostname portion of the URI and open the file locally for paragraphurl and other local URLs
| Bugzilla Link | 326623 |
| Status | NEW |
| Importance | P3 enhancement |
| Reported | Sep 29, 2010 23:33 EDT |
| Modified | Jul 03, 2019 14:49 EDT |
| See also | Gerrit change https://git.eclipse.org/r/129076, Git commit 058067b8 |
| Reporter | Jeff McAffer |
Description
in updating some project websites I was using the ProjectInfoData facilities to get records from the project database. One of the things fetched was the paragraphurl. This value was used as an argument to file_get_contents(). The value in the database was http://eclipse.org/equinox/paragraph.html. This resulted in a 404. Changing the database entry to be http://www.eclipse.org/equinox/paragraph.html eliminated the problem.
Interestingly, accessing the first url (without www) works fine from a browser. AFAIK there has not been a stated requirement to use www in the urls in the project database.
Sidenote: www is passe