@@ -485,10 +485,18 @@ module HTTP {
485485 DataFlow:: Node getResponseBody ( ) { result = super .getResponseBody ( ) }
486486
487487 /**
488+ * DEPRECATED: Use `getAUrlPart` instead.
489+ *
488490 * Gets a node that contributes to the URL of the request.
489491 * Depending on the framework, a request may have multiple nodes which contribute to the URL.
490492 */
491- DataFlow:: Node getURL ( ) { result = super .getURL ( ) }
493+ deprecated DataFlow:: Node getURL ( ) { result = super .getURL ( ) or result = super .getAUrlPart ( ) }
494+
495+ /**
496+ * Gets a data-flow node that contributes to the URL of the request.
497+ * Depending on the framework, a request may have multiple nodes which contribute to the URL.
498+ */
499+ DataFlow:: Node getAUrlPart ( ) { result = super .getAUrlPart ( ) }
492500
493501 /** Gets a string that identifies the framework used for this request. */
494502 string getFramework ( ) { result = super .getFramework ( ) }
@@ -516,10 +524,18 @@ module HTTP {
516524 abstract DataFlow:: Node getResponseBody ( ) ;
517525
518526 /**
527+ * DEPRECATED: overwrite `getAUrlPart` instead.
528+ *
519529 * Gets a node that contributes to the URL of the request.
520530 * Depending on the framework, a request may have multiple nodes which contribute to the URL.
521531 */
522- abstract DataFlow:: Node getURL ( ) ;
532+ deprecated DataFlow:: Node getURL ( ) { none ( ) }
533+
534+ /**
535+ * Gets a data-flow node that contributes to the URL of the request.
536+ * Depending on the framework, a request may have multiple nodes which contribute to the URL.
537+ */
538+ abstract DataFlow:: Node getAUrlPart ( ) ;
523539
524540 /** Gets a string that identifies the framework used for this request. */
525541 abstract string getFramework ( ) ;
0 commit comments