Opened 6 years ago

Closed 6 years ago

#3612 closed defect (fixed)

when shortname includes non-acsii characters and use fullblog link, crash ocurrs

Reported by: Wang Diancheng Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


when a wiki or blog post includes non-ascii fullblog link name eg. 中文, then click "preview" button crash.

I creat patch:


    old new  
    129129        else: 
    130130            # Assume it is a regular post, and pass to 'view' 
    131131            # Split for comment linking (the_post#comment-1, or #comment-1) 
    132             segments = unicode_unquote(content).split('#') 
     132            segments = content.split('#') 
    133133            if len(segments) == 2: 
    134134                url, anchor = segments 
    135135            else: 

why here use unicode_unquote function?

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by osimons

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

(In [4222]) FullBlogPlugin: Fix for segment-split of non-ascii blog links.

Thanks to Wang Diancheng for report and patch.

Closes #3612.

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.