Opened 4 years ago
Closed 4 years ago
#9764 closed defect (bug) (worksforme)
Truncation of last letter in modified permalinks?
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Permalinks | Version: | 2.7.1 |
| Severity: | normal | Keywords: | needs-testing |
| Cc: |
Description (last modified by markjaquith)
Hi,
Anyone else seeing a problem that I can duplicate via the following steps?
- Type a title for a post
- Move to the text entry box, populating the Permalink edit field
- Modify the permalink to something that ends with "n"
- 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.
Change History (6)
- Component changed from General to Permalinks
- Milestone changed from Unassigned to 2.8
- Owner changed from anonymous to ryan
comment:2
follow-up:
↓ 3
markjaquith — 4 years ago
- Description modified (diff)
comment:3
in reply to:
↑ 2
joshuamcgee — 4 years ago
Replying to markjaquith:
Cannot duplicate on 2.7.1 or trunk as of this writing.
Drat. Neither can I, at this moment. It does happen, though. Close if you must, and I will try to find a more reproducible scenario.
Thanks.
Hint: try non-utf7 chars. I've seen similar things happen too -- and not just for a single letter -- with foreign chars while looking into a separate ticket.
I had picked them up on the pravda's site, in case you need varieties of test cases. it doesn't happen with all chars, but it definitely happens with some.
- Keywords needs-testing added; truncation regexp regexps removed
- Milestone changed from 2.8 to Future Release
moving this to Future, pending more information
- Milestone Future Release deleted
- Resolution set to worksforme
- Status changed from new to closed

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?