Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6349 closed defect (fixed)

Error displaying timeline with space in job_url or main_url

Reported by: nerville 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 4 years ago by roadrunner

  • Resolution set to fixed
  • Status changed from new to closed

(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 4 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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from roadrunner. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.