diff --git a/daemon_get.py b/daemon_get.py index 3ab91bacc..8b241708e 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -4511,7 +4511,8 @@ def daemon_http_get(self) -> None: self.server.debug) # get replies to a post /users/nickname/statuses/number/replies - if self.path.endswith('/replies') or '/replies?page=' in self.path: + if self.path.endswith('/replies') or \ + ('/replies?' in self.path and 'page=' in self.path): if show_replies_to_post(self, authorized, calling_domain, referer_domain, self.path, diff --git a/daemon_get_blog.py b/daemon_get_blog.py index c033e2704..4588867f9 100644 --- a/daemon_get_blog.py +++ b/daemon_get_blog.py @@ -53,7 +53,7 @@ def show_blog_page(self, authorized: bool, elif page_number > 10: page_number = 10 curr_session = \ - establish_session("showBlogPage", + establish_session("show_blog_page", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_buttons.py b/daemon_get_buttons.py index 0908cfbd2..9173d15ce 100644 --- a/daemon_get_buttons.py +++ b/daemon_get_buttons.py @@ -280,7 +280,7 @@ def delete_button(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("deleteButton", + establish_session("delete_button", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_buttons_announce.py b/daemon_get_buttons_announce.py index 8a27720c3..a0d2903e1 100644 --- a/daemon_get_buttons_announce.py +++ b/daemon_get_buttons_announce.py @@ -133,7 +133,7 @@ def announce_button(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("announceButton", + establish_session("announce_button", curr_session, proxy_type, self.server) if not curr_session: @@ -352,7 +352,7 @@ def announce_button_undo(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("undoAnnounceButton", + establish_session("announce_button_undo", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_buttons_bookmark.py b/daemon_get_buttons_bookmark.py index 471750adc..b853ba166 100644 --- a/daemon_get_buttons_bookmark.py +++ b/daemon_get_buttons_bookmark.py @@ -129,7 +129,7 @@ def bookmark_button(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("bookmarkButton", + establish_session("bookmark_button", curr_session, proxy_type, self.server) if not curr_session: @@ -334,7 +334,7 @@ def bookmark_button_undo(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("undo_bookmarkButton", + establish_session("bookmark_button_undo", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_buttons_like.py b/daemon_get_buttons_like.py index c86f99a5d..8bee50e0d 100644 --- a/daemon_get_buttons_like.py +++ b/daemon_get_buttons_like.py @@ -131,7 +131,7 @@ def like_button(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("likeButton", + establish_session("like_button", curr_session, proxy_type, self.server) if not curr_session: @@ -388,7 +388,7 @@ def like_button_undo(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("undoLikeButton", + establish_session("like_button_undo", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_buttons_reaction.py b/daemon_get_buttons_reaction.py index c5cdf4350..9af7b6a02 100644 --- a/daemon_get_buttons_reaction.py +++ b/daemon_get_buttons_reaction.py @@ -152,7 +152,7 @@ def reaction_button(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("reactionButton", + establish_session("reaction_button", curr_session, proxy_type, self.server) if not curr_session: @@ -435,7 +435,7 @@ def reaction_button_undo(self, calling_domain: str, path: str, proxy_type = 'i2p' curr_session = \ - establish_session("undoReactionButton", + establish_session("reaction_button_undo", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_post.py b/daemon_get_post.py index a496052f2..f1a853f7a 100644 --- a/daemon_get_post.py +++ b/daemon_get_post.py @@ -961,7 +961,7 @@ def show_replies_to_post(self, authorized: bool, if request_http(self.headers, debug): curr_session = \ - establish_session("showRepliesToPost", + establish_session("show_replies_to_post", curr_session, proxy_type, self.server) if not curr_session: @@ -1073,7 +1073,7 @@ def show_replies_to_post(self, authorized: bool, # send the replies json if request_http(self.headers, debug): curr_session = \ - establish_session("showRepliesToPost2", + establish_session("show_replies_to_post2", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_get_profile.py b/daemon_get_profile.py index c03d51f47..fa391a497 100644 --- a/daemon_get_profile.py +++ b/daemon_get_profile.py @@ -88,7 +88,7 @@ def show_person_profile(self, authorized: bool, add_alternate_domains(actor_json, domain, onion_domain, i2p_domain) if request_http(self.headers, debug): curr_session = \ - establish_session("showPersonProfile", + establish_session("show_person_profile", curr_session, proxy_type, self.server) if not curr_session: diff --git a/daemon_post_confirm.py b/daemon_post_confirm.py index afb360cee..01b6f2194 100644 --- a/daemon_post_confirm.py +++ b/daemon_post_confirm.py @@ -281,7 +281,7 @@ def follow_confirm2(self, calling_domain: str, cookie: str, curr_proxy_type = 'i2p' curr_session = \ - establish_session("follow request", + establish_session("follow request confirm", curr_session, curr_proxy_type, self.server)