chore(cleanup): Remove use of logical operator `and` in `output/url` view

This is mostly to make the SensioInsights static analysis tool happy.
Logical operators have precedence that is unfamiliar to most programmers,
so they are best avoided.
Merge pull request #7184 from ewinslow/avoid-logical-operators

chore(cleanup): Remove use of logical operator `and` in `output/url` view