File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1374,12 +1374,13 @@ def tx_rss(self) -> bool:
1374
1374
title = self .uparam .get ("title" ) or self .vpath .split ("/" )[- 1 ]
1375
1375
etitle = html_escape (title , True , True )
1376
1376
1377
- baseurl = "%s://%s%s " % (
1377
+ baseurl = "%s://%s/ " % (
1378
1378
"https" if self .is_https else "http" ,
1379
1379
self .host ,
1380
- self .args .SRS ,
1381
1380
)
1382
- feed = "%s%s" % (baseurl , self .req [1 :])
1381
+ feed = baseurl + self .req [1 :]
1382
+ if self .is_vproxied :
1383
+ baseurl += self .args .RS
1383
1384
efeed = html_escape (feed , True , True )
1384
1385
edirlink = efeed .split ("?" )[0 ] + q_pw
1385
1386
@@ -1392,7 +1393,7 @@ def tx_rss(self) -> bool:
1392
1393
\t \t <title>%s</title>
1393
1394
\t \t <description></description>
1394
1395
\t \t <link>%s</link>
1395
- \t \t <generator>copyparty-1 </generator>
1396
+ \t \t <generator>copyparty-2 </generator>
1396
1397
"""
1397
1398
% (efeed , etitle , edirlink )
1398
1399
]
You can’t perform that action at this time.
0 commit comments