Re: [libreoffice-website] Download page: wrong platform autodetection
Hi Christian, 2013/2/8 Christian Lohmaier : > Hi Antanas, > > On Fri, Feb 8, 2013 at 2:26 PM, Antanas Budriūnas wrote: >> >> the main download page shows 'rpm' version instead of 'deb' (Chromium >> 24.0.1312.56 Ubuntu 12.04). > > Very likely there is nothing in the browser's info strings that could > guess the website correctly... > > Please visit the downloadpage and have chromium display the sourcecode > (+u) > search for >>"typography"<< (with the " quotes as to match the div and > not stylesheets), or just scroll down to around line 75 > > There's a html-comment listing the User-Agent string that is used to > determine the OS, architecture as well as deb/rpm.. > > If there's something that leads to the conclusion that it is from a > deb-based distro, then the detection can be adjusted. If it is just a > generic one, then the default will be used (and that is rpm) > >> Using Mozilla Firefox 18.0.2 detection is correct - 'deb' in this case. > > very likely that mentions ubuntu in the user-agent string, while > chormium doesn't... Exactly. Chromium did not mentions ubuntu and returns wrong type:rpm-x86 Thanks for clarifying this. Antanas -- Unsubscribe instructions: E-mail to website+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/website/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-website] Download page: wrong platform autodetection
Hi Antanas, On Fri, Feb 8, 2013 at 2:26 PM, Antanas Budriūnas wrote: > > the main download page shows 'rpm' version instead of 'deb' (Chromium > 24.0.1312.56 Ubuntu 12.04). Very likely there is nothing in the browser's info strings that could guess the website correctly... Please visit the downloadpage and have chromium display the sourcecode (+u) search for »"typography"« (with the " quotes as to match the div and not stylesheets), or just scroll down to around line 75 There's a html-comment listing the User-Agent string that is used to determine the OS, architecture as well as deb/rpm.. If there's something that leads to the conclusion that it is from a deb-based distro, then the detection can be adjusted. If it is just a generic one, then the default will be used (and that is rpm) > Using Mozilla Firefox 18.0.2 detection is correct – 'deb' in this case. very likely that mentions ubuntu in the user-agent string, while chormium doesn't... ciao Chrsitian -- Unsubscribe instructions: E-mail to website+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/website/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-website] Download page: wrong platform autodetection
Hello, the main download page shows 'rpm' version instead of 'deb' (Chromium 24.0.1312.56 Ubuntu 12.04). Using Mozilla Firefox 18.0.2 detection is correct – 'deb' in this case. Congratulations on the occasion of the LibreOffice 4.0! Antanas -- Unsubscribe instructions: E-mail to website+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/website/ All messages sent to this list will be publicly archived and cannot be deleted