Edgewall Software

Ticket #5454 (closed defect: duplicate)

Opened 19 months ago

Last modified 17 months 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:

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

Changed 19 months ago by cboos

  • status changed from new to closed
  • resolution set to duplicate
  • milestone 0.11 deleted

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.

Changed 19 months ago by s.gurgul@…

Thanks

The patch works.

Changed 17 months ago by cerw

Works for me too, please commit, thanks Petr

Add/Change #5454 (base_url value and SSL connection)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.