Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5454 closed defect (duplicate)

base_url value and SSL connection

Reported by: s.gurgul@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal 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 (0)

Change History (3)

comment:1 by Christian Boos, 17 years ago

Milestone: 0.11
Resolution: duplicate
Status: newclosed

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 by s.gurgul@…, 17 years ago

Thanks

The patch works.

comment:3 by cerw, 17 years ago

Works for me too, please commit, thanks Petr

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.