[wp-trac] Re: [WordPress Trac] #9764: Truncation of last letter in modified permalinks?

WordPress Trac wp-trac at lists.automattic.com
Sat May 9 09:04:59 GMT 2009


#9764: Truncation of last letter in modified permalinks?
--------------------------+-------------------------------------------------
 Reporter:  joshuamcgee   |       Owner:  ryan                     
     Type:  defect (bug)  |      Status:  new                      
 Priority:  normal        |   Milestone:  2.8                      
Component:  Permalinks    |     Version:  2.7.1                    
 Severity:  normal        |    Keywords:  truncation regexp regexps
--------------------------+-------------------------------------------------

Old description:

> Hi,
>
> Anyone else seeing a problem that I can duplicate via the following
> steps?
>
>    1. Type a title for a post
>    2. Move to the text entry box, populating the Permalink edit field
>    3. Modify the permalink to something that ends with "n"
>    4. Publish
>
> When this happens, I end up with a permalink with a truncated last
> letter. For instance, if I enter "some incantation", I get a permalink
> ending in "/some-incantatio/"
>
> Other terminal letters fail sometimes, but (among my samples) 'n" always
> does.
>
> There can't be something ridiculous, along the lines of a regexp ending
> in /.*n$/ instead of /.*\n$/ or something, could it?  Or some PHP/JS
> parallel of a chop/chomp problem?
>
> If this is a repost, sorry.

New description:

 Hi,

 Anyone else seeing a problem that I can duplicate via the following steps?

    1. Type a title for a post
    2. Move to the text entry box, populating the Permalink edit field
    3. Modify the permalink to something that ends with "n"
    4. Publish

 When this happens, I end up with a permalink with a truncated last letter.
 For instance, if I enter "some incantation", I get a permalink ending in
 "/some-incantatio/"

 Other terminal letters fail sometimes, but (among my samples) 'n" always
 does.

 There can't be something ridiculous, along the lines of a regexp ending in
 /.*n$/ instead of /.*\n$/ or something, could it?  Or some PHP/JS parallel
 of a chop/chomp problem?

 If this is a repost, sorry.

--

Comment(by markjaquith):

 Cannot duplicate on 2.7.1 or trunk as of this writing.

 Do you have mod_security enabled? How about a plugin that could be
 effecting this?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9764#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list