Skip to content

Commit f39301f

Browse files
committed
Fix "an remote" and similar
Preserve case, allow for "a `Remote" etc.
1 parent a664602 commit f39301f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

go/ql/src/experimental/CWE-090/LDAPInjection.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private class LdapClientDNSink extends LdapSink {
9898
/**
9999
* DEPRECATED: Use `LdapInjectionFlow` instead.
100100
*
101-
* A taint-tracking configuration for reasoning about when an `RemoteFlowSource`
101+
* A taint-tracking configuration for reasoning about when a `RemoteFlowSource`
102102
* flows into an argument or field that is vulnerable to LDAP injection.
103103
*/
104104
deprecated class LdapInjectionConfiguration extends TaintTracking::Configuration {
@@ -120,7 +120,7 @@ private module LdapInjectionConfig implements DataFlow::ConfigSig {
120120
}
121121

122122
/**
123-
* Tracks taint flow for reasoning about when an `RemoteFlowSource` flows
123+
* Tracks taint flow for reasoning about when a `RemoteFlowSource` flows
124124
* into an argument or field that is vulnerable to LDAP injection.
125125
*/
126126
module LdapInjectionFlow = TaintTracking::Global<LdapInjectionConfig>;

go/ql/src/experimental/CWE-74/DsnInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import go
1313
import DsnInjectionCustomizations
1414
import DsnInjectionFlow::PathGraph
1515

16-
/** An remote flow source taken as a source for the `DsnInjection` taint-flow configuration. */
16+
/** A remote flow source taken as a source for the `DsnInjection` taint-flow configuration. */
1717
private class RemoteFlowAsSource extends Source instanceof RemoteFlowSource { }
1818

1919
from DsnInjectionFlow::PathNode source, DsnInjectionFlow::PathNode sink

go/ql/src/experimental/CWE-79/HTMLTemplateEscapingPassthrough.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module UntrustedToPassthroughTypeConversionConfig implements DataFlow::ConfigSig
5353
}
5454

5555
/**
56-
* Tracks taint flow for reasoning about when an `RemoteFlowSource` is
56+
* Tracks taint flow for reasoning about when a `RemoteFlowSource` is
5757
* converted into a special "passthrough" type which will not be escaped by the
5858
* template generator; this allows the injection of arbitrary content (html,
5959
* css, js) into the generated output of the templates.
@@ -115,7 +115,7 @@ module FromUntrustedToTemplateExecutionCallConfig implements DataFlow::ConfigSig
115115
}
116116

117117
/**
118-
* Tracks taint flow from an `RemoteFlowSource` into a template executor
118+
* Tracks taint flow from a `RemoteFlowSource` into a template executor
119119
* call.
120120
*/
121121
module FromUntrustedToTemplateExecutionCallFlow =

go/ql/src/experimental/CWE-942/CorsMisconfiguration.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ module UntrustedToAllowOriginConfigConfig implements DataFlow::ConfigSig {
7878
}
7979

8080
/**
81-
* Tracks taint flowfor reasoning about when an `RemoteFlowSource` flows to
81+
* Tracks taint flowfor reasoning about when a `RemoteFlowSource` flows to
8282
* a `HeaderWrite` that writes an `Access-Control-Allow-Origin` header's value.
8383
*/
8484
module UntrustedToAllowOriginHeaderFlow = TaintTracking::Global<UntrustedToAllowOriginHeaderConfig>;
8585

8686
/**
87-
* Tracks taint flowfor reasoning about when an `RemoteFlowSource` flows to
87+
* Tracks taint flowfor reasoning about when a `RemoteFlowSource` flows to
8888
* a `AllowOriginsWrite` that writes an `Access-Control-Allow-Origin` header's value.
8989
*/
9090
module UntrustedToAllowOriginConfigFlow = TaintTracking::Global<UntrustedToAllowOriginConfigConfig>;
@@ -208,7 +208,7 @@ module FromUntrustedConfig implements DataFlow::ConfigSig {
208208
}
209209

210210
/**
211-
* Tracks taint flow for reasoning about when an `RemoteFlowSource` flows
211+
* Tracks taint flow for reasoning about when a `RemoteFlowSource` flows
212212
* somewhere.
213213
*/
214214
module FromUntrustedFlow = TaintTracking::Global<FromUntrustedConfig>;

0 commit comments

Comments
 (0)