After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754080 - Search functionality is broken
Search functionality is broken
Status: RESOLVED FIXED
Product: website
Classification: Infrastructure
Component: mail.gnome.org
current
Other Linux
: Normal normal
: ---
Assigned To: Andrea Veri
GNOME Web maintainers
: 754519 755118 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-08-25 13:55 UTC by Tom Tryfonidis
Modified: 2015-09-25 15:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tom Tryfonidis 2015-08-25 13:55:12 UTC
Search is broken at https://mail.gnome.org/ and https://mail.gnome.org/archives/

- https://mail.gnome.org/ returns a 404 error message that there's no /custom URL.

The URL exists on these files:
https://git.gnome.org/browse/mhonarc/tree/archive.pl#n265
https://git.gnome.org/browse/mail-web/tree/index.html#n55


- https://mail.gnome.org/archives/ returns a 403 error message:

"Your client does not have permission to get URL /cse?q=gnome&domains=mail.gnome.org&hq=inurl%3A%2Farchives%2F&sitesearch=mail.gnome.org from this server. (Client IP address: x.x.x.x)

Requests without cx/cref are no longer supported"

I see that /archives use a custom search engine, so it would be better to create a new one[1] as Google made some changes to this. Removing the /cse from the code e.g [2] fixes the problem if we don't want to use a custom seach engine.

[1] https://developers.google.com/custom-search/docs/tutorial/creatingcse
[2] https://git.gnome.org/browse/mhonarc/tree/archive.py#n347
Comment 1 Andrea Veri 2015-08-25 13:59:36 UTC
Thanks for reporting, I should be looking into this.
Comment 2 Frederic Peters 2015-09-03 13:04:26 UTC
*** Bug 754519 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Peters 2015-09-16 15:33:36 UTC
*** Bug 755118 has been marked as a duplicate of this bug. ***
Comment 4 Andrea Veri 2015-09-19 14:36:51 UTC
Fix committed [1], next step would be rebuilding the whole set of archives for picking up the change. That might actually take a few days to happen, will keep the bug open until that's done.

Searching from https://mail.gnome.org, https://mail.gnome.org/archives and from any new message archived after my commit will result in a success. [2]

[1] https://git.gnome.org/browse/mhonarc/commit/?id=d25572f066df6e34b14e1243d712f4ddb98ecb81
[2] https://mail.gnome.org/archives/commits-list/2015-September/msg04695.html
Comment 5 Andrea Veri 2015-09-25 15:06:30 UTC
The mass rebuild of the archives should be done by now, I'm therefore marking this bug as resolved. Please let me know if there's still a broken search form around.