Skip to content

Swap words unexpected behaviour #8

@iustin24

Description

@iustin24

Right now swap_words_transform only swaps words if domain_components contains words from the wordlist.

There should probably be two different transforms:

Input words:

staging
dev

Input subdomains:

promo.staging.google.com

swap_all_words():

dev.staging.google.com
staging.staging.google.com
promo.dev.google.com
promo.staging.google.com

swap_words():

promo.dev.google.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions