Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6349 closed defect (fixed)

Error displaying timeline with space in job_url or main_url

Reported by: franck villaume Owned by: roadrunner
Priority: normal Component: HudsonTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

My hudson job name contains space.

If I provide the job_url with space, when I click on timeline I have this error : Hudson Builds event provider (HudsonTracPlugin) failed: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 40: ordinal not in range(128)

And If I provide the job_url using the %20 code for space, when I click on timeline I have this error : Hudson Builds event provider (HudsonTracPlugin) failed: ValueError: unsupported format character 'I' (0x49) at index 49

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by roadrunner

Resolution: fixed
Status: newclosed

(In [7277]) Fix two issues with special characters in job url:

  1. properly handle '%' in url
  2. escape non-safe characters in url (such as spaces, non-ascii characters, etc)

This fixes #6349.

comment:2 Changed 7 years ago by roadrunner

(In [7277]) Fix two issues with special characters in job url:

  1. properly handle '%' in url
  2. escape non-safe characters in url (such as spaces, non-ascii characters, etc)

This fixes #6349.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain roadrunner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.