urlFilter with wildcard does not match root URL
See original GitHub issue- VS Code Version: 1.41.1
- Log file (set
"trace": true
in launch config): N/A
Steps to reproduce:
- Using the following
launch.json
:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "edge",
"request": "attach",
"name": "Attach Edge",
"urlFilter": "https://localhost:3000/*",
"webRoot": "${workspaceFolder}/Portal/apps",
"sourceMaps": true,
"smartStep": true,
"skipFiles": ["**/node_modules/**"],
"sourceMapPathOverrides": {
"webpack:///*": "${webRoot}/*"
},
"port": 2015
}
]
}
- Attaching works when a tab is open on a sub-page, e.g
https://localhost:3000/home
. - Attaching does not work when the tab is open on the root URL, e.g.
https://localhost:3000
.
I would expect the wildcard to match anything or nothing. Or else there should be an operator for optional wildcard.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Solved: Using wildcard in URL filtering - Cisco Community
So, it appears the substring matching works if I create an actual URL object, then block it. Substring matching, however, does not work,...
Read more >FortiGate - Technical Tip: URL Filter expressions for the Fort...
Wildcard : A Wildcard entry can be used to flexibly match multiple URLs based on the specified keyword/string. Notably, Wildcard entries do not...
Read more >Examples of using wildcards in URL filtering profiles
The article helps understand why certain URL is matching or not matching a wildcard filter in customer URL category.
Read more >URL Filter Matching - Beginners Guide - YouTube
URL Filter Matching - Beginners Guide Let's look at the different URL Filter Methods to block URL's using the simple, wildcard and regular ......
Read more >Learning suggestions for wildcard URLs may not match ...
You add a wildcard URL to the Allowed URLs List. For example: /images/*. The security policy processes traffic that matches the wildcard URL...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Probably works if it ends with
3000*
right?I noticed this issue in js-debug (our new debugger) a week or two ago as well, will transfer this issue, fix, and close it