Make WordPress Core

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#8904 closed defect (bug) (fixed)

exclamation mark bang do not work in wordpress directory structure

Reported by: here Owned by:
Priority: low Milestone: 2.8
Component: General Version: 2.7
Severity: minor Keywords: has-patch
Cc: Focuses:

Description (last modified by ryan)

Installed with exclamation mark or bang in directory structure, fails when saving new page:

​http://localhost/code/!wp-test/<wp-files>

works fine with:

​http://localhost/code/wp-test/<wp-files>

tested only with xampp 1.7 on win xp

Please confirm ;) --

Attachments (1)

8904.patch​ (539 bytes ) - added by hakre 17 years ago.
Yes, ! (Exclamation mark) is a valid and safe char in an URI.

Download all attachments as: .zip

Change History (11)

#1 in reply to: ↑ description @here
18 years ago

see also #3206

#2 @here
18 years ago

  • Summary exlamation mark bang do not work in wordpress directory structure → exclamation mark bang do not work in wordpress directory structure

#3 @simonwheatley
17 years ago

Can you explain what you mean by "fails when saving new page", please?

#4 @ryan
17 years ago

  • Component General → Filesystem
  • Description modified (diff)
  • Owner anonymous removed

#5 @Denis-de-Bernardy
17 years ago

  • Keywords needs-patch added; exclamationmark bang directory exclamation mark removed
  • Milestone 2.8 → 2.9

moving to 2.9 from lack of patch

#6 @hakre
17 years ago

  • Keywords 2nd-opinion added

Changed Permalink Structure to

/bang!bang!/%year%/%monthnum%/%day%/%postname%/

which runs into errors when WP makes a redirect. seems to me that the redirect function is not properly working. again (?) another esoteric behavior.

In a second test I configured WordPress to be accessible under the following address:

http://example.com/bang!bang!beauty!/

with each redirect, the path is reduced to bangbangbeatuy, the exclamation marks get stripped out.

#7 @hakre
17 years ago

  • Component Filesystem → General
  • Owner set to anonymous

@hakre
17 years ago

Yes, ! (Exclamation mark) is a valid and safe char in an URI.

#8 @hakre
17 years ago

  • Keywords has-patch added; needs-patch 2nd-opinion removed

Someone has forgotten to add that char to the whitelist. Thanks for reporting.

#9 @markjaquith
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [11147]) Exclamation mark is a valid and safe character in a URI. props hakre. fixes #8904

#10 @Denis-de-Bernardy
17 years ago

  • Milestone 2.9 → 2.8
Note: See TracTickets for help on using tickets.