Edgewall Software
Modify

Ticket #5454 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years ago

base_url value and SSL connection

Reported by: s.gurgul@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: devel
Severity: major Keywords:
Cc:
Release Notes:
API Changes:

Description

We set base_url variable to get nice URL's in email notifications from Trac. We use SSL connection to Trac so base_url is set to something like 'https://server/project'

Unfortunatelly after setting base_url to https url some side effects occured.
Every time when we submit changes to tickets (new ticket or modification of exitings one) Trac tries to access not existing page 'http://server/project/...' and fails (although ticket is submitted correctly - it fails only on redirecting to the next page).

Somehow HTTPS is replaced with HTTP :(
Beside that the URL is completely OK. When we modify it by hand (adding 's' after http) it works.

Is there any solution to get both:

  • email notifications with links
  • working Trac

in HTTPS environment ?

Attachments

Change History

comment:1 Changed 5 years ago by cboos

  • Milestone 0.11 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Can you please try the following patch? attachment:ticket:2553:https_post_redirect2.patch

Please follow-up on #2553, if the patch works for you, we'll apply it.

comment:2 Changed 5 years ago by s.gurgul@…

Thanks

The patch works.

comment:3 Changed 4 years ago by cerw

Works for me too, please commit, thanks
Petr

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.