Opened 2 years ago

Closed 2 years ago

#6238 closed defect (bug) (duplicate)

Plugin Directory: Block SVN commits if someone uses the Update URI

Reported by: ipstenu's profile Ipstenu Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:


While we do check for those things on submission, people are silly and forget and add things back in (this is also to answer to: "How did THAT make it past a review!?!").

Can we search the 'main' PHP file for

Update URI:

in the plugin headers? It may have a false positive down the line, but I can't think of who would legit use it in a plugin hosted on .org

Change History (4)

#1 @alanfuller
2 years ago

According to the docs - unless I misunderstand ( in which case they need to be clarified), then it is valid to have Update URI containing{$slug}/ or{$slug} uploaded to the repo so these would need to be parsed ( or change the documentation )

#2 @Ipstenu
2 years ago

@alanfuller You can, yes, but honestly given the potential for problems (someone just had an issue where their plugin won't update because they put it in) and the difficulty in programmatically checking if the URL is valid, it seems more sensible to just say "No, not here please."

#3 @alanfuller
2 years ago

So ideally remove mention of {slug} from the docs?

#4 @dd32
2 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.