History log of /trafficserver/plugins/header_rewrite/header_rewrite_test.cc (Results 1 - 25 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2df57f92 21-Feb-2020 Leif Hedstrom

Avoid a weird name collision between HRW and tscore (#6446)


Revision tags: 7.1.9-rc1, 8.0.6-rc1, 7.1.9-rc0, 8.0.6-rc0, 8.0.5, 7.1.8, 8.0.4, 7.1.7
# 37ae0d34 15-Jul-2019 Randall Meyer

Remove header_rewrite conditions deprecated in previous versions


Revision tags: 7.1.7-rc0, 8.0.4-rc0
# 6eb82a93 05-May-2019 Leif Hedstrom

This fixes parsing where the [ ] section gets merged into values

For example:

cond %{SEND_RESPONSE_HDR_HOOK}
set-header X-First "First"
set-header X-Last "Last

This fixes parsing where the [ ] section gets merged into values

For example:

cond %{SEND_RESPONSE_HDR_HOOK}
set-header X-First "First"
set-header X-Last "Last" [L]

would set the header X-Last: Last [L].

In addition, it also fixes a typo (I think?) in an unrelated test,
however, it's unclear as to why it's not failing that test.

CHECK_EQ(p.get_tokens()[1], "%{METHOD}c”);

show more ...


Revision tags: 8.0.3, 7.1.6, 8.0.2, 8.0.1, 7.1.5, 7.1.5-rc0, 8.0.1-rc0
# f3acdc9c 11-Oct-2018 Leif Hedstrom

Removes the old expander feature of header_rewrite

The new string concatenations are just better, and faster.


# 3a5763b1 05-Nov-2018 Randall Meyer

Adjusts the format for header_rewrite string concatenation

Drop the "+" from the syntax. This syntax was never released and
therefore doesn't have backwards compatibilty requirements.

Adjusts the format for header_rewrite string concatenation

Drop the "+" from the syntax. This syntax was never released and
therefore doesn't have backwards compatibilty requirements.

eg
add-header X-Party "let's party like it's %{NOW:YEAR}!"

(quotes optional)

show more ...


Revision tags: 8.0.0, 8.0.0-rc3, 8.0.0-rc2, 8.0.0-rc1
# ed1ded26 11-Sep-2018 Randall Meyer

header_rewrite: Adds basic string concatenation

eg:

add-header X-Party "let's party like it's " + %{NOW:YEAR} + "!"


Revision tags: 8.0.0-rc0, 7.1.4, 6.2.3, 7.1.4-rc0, 7.1.3, 7.1.2, 7.1.2-rc3, 7.1.2-rc2, 7.1.2-rc1, 7.1.2-rc0, 7.1.1, 7.1.1-rc0, 6.2.2, 6.2.2-rc0, 7.1.0, 7.1.0-rc0
# a3395486 18-Apr-2017 Bryan Call

Ran clang-tidy with performance-unnecessary-value-param


Revision tags: 6.2.1, 7.0.0, 7.0.0-rc2
# c2dd8840 21-Oct-2016 Leif Hedstrom

TS-4993: Disables escaping and quotes inside regexes

In addition, this cleans up the unit tests a bit, to make it more useful from
the command line when testing/debugging. New tests are

TS-4993: Disables escaping and quotes inside regexes

In addition, this cleans up the unit tests a bit, to make it more useful from
the command line when testing/debugging. New tests are also added for regular
expression parse testing

show more ...


Revision tags: 7.0.0-rc1, 7.0.0-rc0
# 94fb274f 30-Aug-2016 Masaori Koshiba

TS-4797: Allow backslash-escape in header_rewrite rules


# 833697df 18-Jul-2016 Leif Hedstrom

TS-4683 Adds better error handling on config problems


Revision tags: 6.2.0
# 8d6c0aad 08-Jul-2016 James Peach

Move header_rewrite_test into the automake tests.


Revision tags: 6.2.0-rc2, 6.2.0-rc1
# d6906e2a 19-Jun-2016 Leif Hedstrom

TS-4565 Update indentation with = alignment


Revision tags: 6.2.0-rc0
# 25be6b32 17-May-2016 Leif Hedstrom

TS-4448 Remove superfluous \n in Debug() statements


# a5cddca1 17-Apr-2016 Leif Hedstrom

TS-4164 Update indentation with latest tools


Revision tags: 6.1.1, 6.1.0, 6.1.0-rc0, 6.0.1-rc1, 6.0.1-rc0
# e71350b4 06-Oct-2015 Brian Geffon

Resolve coverity #1325735, #1325734, #1325736


# 61cbc5b9 06-Oct-2015 Brian Geffon

TS-3956: clang format (sorry zwoop ;/)


# 147b9668 06-Oct-2015 Brian Geffon

TS-3956: Header_rewrite applies strange logic with = operator, remove %{} which breaks printf


# 8c148c9e 06-Oct-2015 Brian Geffon

TS-3956: Header_rewrite applies strange logic with = operator, this
closes #300


# a3395486 18-Apr-2017 Bryan Call

Ran clang-tidy with performance-unnecessary-value-param


# c2dd8840 21-Oct-2016 Leif Hedstrom

TS-4993: Disables escaping and quotes inside regexes

In addition, this cleans up the unit tests a bit, to make it more useful from
the command line when testing/debugging. New tests are

TS-4993: Disables escaping and quotes inside regexes

In addition, this cleans up the unit tests a bit, to make it more useful from
the command line when testing/debugging. New tests are also added for regular
expression parse testing

show more ...


# 94fb274f 30-Aug-2016 Masaori Koshiba

TS-4797: Allow backslash-escape in header_rewrite rules


# 833697df 18-Jul-2016 Leif Hedstrom

TS-4683 Adds better error handling on config problems


# 8d6c0aad 08-Jul-2016 James Peach

Move header_rewrite_test into the automake tests.


# d6906e2a 19-Jun-2016 Leif Hedstrom

TS-4565 Update indentation with = alignment


# 25be6b32 17-May-2016 Leif Hedstrom

TS-4448 Remove superfluous \n in Debug() statements


12