Skip to content

Conversation

@danielgroves
Copy link
Contributor

@danielgroves danielgroves commented Aug 30, 2019

In the event a URL contains a 7 or 32-character segment where there would normally be a hash and exception would be raised:

TypeError: Cannot read property '0' of null at Object.stripVersion (<omitted>/frontend/node_modules/staticify/index.js:90:61)

This PR fixes this by handling the possibility that the RegEx check would fail by completing a null check.

@XhmikosR
Copy link
Collaborator

@rakeshpai: LGTY?

@rakeshpai
Copy link
Member

LGTM 👍

@XhmikosR XhmikosR merged commit 2e3d59e into errorception:master Aug 30, 2019
@danielgroves danielgroves deleted the handle-url-without-hash branch September 17, 2019 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants