Skip to content

Swap words unexpected behaviour #8

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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