Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Bug: Enabling drop qstring at edge breaks origins with explicit ports #1901

@MattMills

Description

@MattMills

When drop qstring is enabled in TO, this regex remap config is put onto the DS:

[root@[snip] trafficserver]# cat drop_qstring.config
# DO NOT EDIT - Generated for [snip] by Traffic Ops (https://[snip]/) on Tue Oct 10 14:20:58 UTC 2017
/([^?]+) $s://$t/$1

Per ATS docs:

$t     - The host as used in the "to" portion of the remap rule
$p     - The original port number
$s     - The scheme (e.g. http) of the request

This regex remap will strip port on any origin that is configured with an explicit port (IE, http://127.0.0.1:81)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedmedium impactimpacts a significant portion of a CDN, or has the potential to do soneeds more infomore information or a better description is needed to proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions