[wp-trac] [WordPress Trac] #36663: Wordpress 4.5 Query Strings Replacing "." with "_"
WordPress Trac
noreply at wordpress.org
Mon Apr 25 17:07:39 UTC 2016
#36663: Wordpress 4.5 Query Strings Replacing "." with "_"
-------------------------------------+-----------------------------
Reporter: michael.bucklin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Canonical | Version: 4.5
Severity: normal | Keywords:
Focuses: javascript, performance |
-------------------------------------+-----------------------------
As of Wordpress 4.5, any query strings using a "." will get converted to a
"_". While i understand that PHP doesn't support a period in a query
string value, there are instances where query strings with periods are
used by JavaScript and need to be retained. For example, the Webtrends
analytics platform uses periods in most of their analytics query string
values. For example, they use "wt.mc_id", "wt.z_mce", and "wt.dl".
It appears that changes to 'wp-includes/canonical.php' in 4.5 cause these
periods to be visually and functionally converted to underscores when the
pages loads. Interestingly, this only happens on pages and not posts.
Can we get the functionality put back the way it was so that the periods
are retained, as this update will break Webtrends functionality, as well
as any site using JavaScript that expects a period in a query string
value?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36663>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list