diff --git a/webapp_person_options.py b/webapp_person_options.py
index 5c903ce9b..6459f2d45 100644
--- a/webapp_person_options.py
+++ b/webapp_person_options.py
@@ -351,12 +351,13 @@ def htmlPersonOptions(defaultTimeline: str,
translate['Info'] + '\n'
personNotes = ''
- personNotesFilename = \
- baseDir + '/accounts/' + nickname + '@' + domain + \
- '/notes/' + handle + '.txt'
- if os.path.isfile(personNotesFilename):
- with open(personNotesFilename, 'r') as fp:
- personNotes = fp.read()
+ if originPathStr.startswith('/' + nickname + '/'):
+ personNotesFilename = \
+ baseDir + '/accounts/' + nickname + '@' + domain + \
+ '/notes/' + handle + '.txt'
+ if os.path.isfile(personNotesFilename):
+ with open(personNotesFilename, 'r') as fp:
+ personNotes = fp.read()
optionsStr += \
'
' + translate['Notes'] + ': \n'