[Bug 683464] New: download file doesnt work if external protocol is https and internal http
https://bugzilla.novell.com/show_bug.cgi?id=683464 https://bugzilla.novell.com/show_bug.cgi?id=683464#c0 Summary: download file doesnt work if external protocol is https and internal http Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.1 Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: webui AssignedTo: adrian@novell.com ReportedBy: stolte@dfn-cert.de QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.16) Gecko/20110319 SUSE/3.6.16-0.2.1 Firefox/3.6.16 If you have https for remote access and internal http then downloading of source files doesnt work. The url is always composed with http:// . Reproducible: Always Steps to Reproduce: 1.setup obs with https as external protocol and http as internal 2.go to source files of a package and click on download file under actions 3. Actual Results: http://.... Expected Results: https:// Please change the code in /srv/www/obs/webui/app/helpers/application_helper.rb to: def get_frontend_url_for( opt={} ) opt[:host] ||= Object.const_defined?(:EXTERNAL_FRONTEND_HOST) ? EXTERNAL_FRONTEND_HOST : FRONTEND_HOST opt[:port] ||= Object.const_defined?(:EXTERNAL_FRONTEND_PORT) ? EXTERNAL_FRONTEND_PORT : FRONTEND_PORT opt[:protocol] ||= Object.const_defined?(:EXTERNAL_FRONTEND_PROTOCOL) ? EXTERNAL_FRONTEND_PROTOCOL : FRONTEND_PROTOCOL The last line is the important one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683464 https://bugzilla.novell.com/show_bug.cgi?id=683464#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Adrian Schröter <adrian@suse.com> 2012-04-03 15:07:40 UTC --- the logging may be still false, but the setup is working now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com