Skip to content

Commit

Permalink
Merge branch 'sdo-callisto' of https://github.com/schemaorg/schemaorg
Browse files Browse the repository at this point in the history
…into sdo-callisto
  • Loading branch information
danbri committed Mar 23, 2017
2 parents 004a147 + 05dfae5 commit 0686339
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdoapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

all_layers = {}
ext_re = re.compile(r'([^\w,])+')
validNode_re = re.compile(r'[^\w\-_\/\.]')

#TODO: Modes:
# mainsite
Expand Down Expand Up @@ -2209,6 +2210,10 @@ def _get(self, node, doWarm=True):

self.callCount()

if re.search( validNode_re, str(node)): #invalid node name
self.handle404Failure(node)
return False

if (node in silent_skip_list):
return False

Expand Down

0 comments on commit 0686339

Please sign in to comment.