WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#14611 closed defect (bug) (worksforme)

IIS the_permalink and the ` and ' characters

Reported by: Frumph Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Permalinks Keywords: reporter-feedback
Focuses: Cc:

Description (last modified by nacin)

On IIS the ` and ' characters are not translating properly when the slug is created and then the url is made with pretty permalinks. When posts are made and title is clicked on it fails to find the page in question, however remove the ` or ' character in the slug and it finds it just fine.

Possibly non alpha characters doing it? Possible .htaccess redirect problem?

Change History (7)

#1 @nacin
9 years ago

  • Description modified (diff)

#2 @nacin
9 years ago

  • Version set to 3.0

#3 @peaceablewhale
8 years ago

  • Keywords reporter-feedback added

Would you mind explaining the steps to reduce the issue a bit further?

#4 follow-ups: @Frumph
8 years ago

I am pretty sure you know how to put ' and ` in the slug for the permalink. IIS then cannot translate the permalink out properly so those characters for parts of the slug should be removed when its saved.

Kind of like how # and ? are not allowed to be used.

#5 in reply to: ↑ 4 @SergeyBiryukov
8 years ago

Replying to Frumph:

I am pretty sure you know how to put ' and ` in the slug for the permalink.

Not really :) I've just tried to create a post with "Sample Post '`" as a title in 3.0.4 (the initial reported branch) and in 3.3-trunk, and the permalink is sanitized to sample-post.

#6 in reply to: ↑ 4 @carlospaulino
8 years ago

Replying to Frumph:

I am pretty sure you know how to put ' and ` in the slug for the permalink. IIS then cannot translate the permalink out properly so those characters for parts of the slug should be removed when its saved.

Kind of like how # and ? are not allowed to be used.

Is this really a bug ? I tried to replicate it in both WordPress and WordPress MS using IIS as the web server, but just as Sergey Biryukov said the slug is being sanitized correctly.

Can you provide more details ?

#7 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Feel free to reopen with more exact steps to reproduce if there's still a problem.

Note: See TracTickets for help on using tickets.