We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7162120 commit fee0d8eCopy full SHA for fee0d8e
assets/js/app.coffee
@@ -112,7 +112,7 @@ class LicenseSuggestion
112
113
# Try to extract the repository full name from the user input
114
parseUserInput: (userInput) ->
115
- repository = /https?:\/\/github\.com\/([^\/]+)\/([^\/]+)/.exec userInput
+ repository = /https?:\/\/github\.com\/([^\/]+)\/([^\/\?#]+)/.exec userInput
116
[_, username, project] = repository
117
return username + '/' + project.replace /(\.git)$/, ''
118
0 commit comments