Skip to content

Content-type modifiers cannot be used with $urltransform modifier #1978

@AdamWr

Description

@AdamWr

Please answer the following questions for yourself before submitting an issue

  • Filters were updated before reproducing an issue
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard version

7.21.0 nightly 55 (5048) (CL 1.17.158, DL 2.6.8 )

Browser version

Chrome 138

OS version

Windows 11

Issue Details

Steps to reproduce:

  1. Try to add this rule to user rules:
||st.agrd.eu^$urltransform=/.+/test/,script

Expected Behavior

It should be possible to use other content-type modifiers with urltransform.

Actual Behavior

Rule cannot be added to user rules in AdGuard for Windows, and when it's loaded from custom filters then it does not work.
It works without script:

||st.agrd.eu^$urltransform=/.+/test/

If it's expected behavior, then it would be nice to update documentation.

Screenshots

No response

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions